Skip to content

Commit a7ec0ef

Browse files
committed
Make sure Placed Symbol test uses a strokeWidth on Paper too.
1 parent 72a1ba8 commit a7ec0ef

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/tests/PlacedSymbol.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ module('Placed Symbol');
33
test('placedSymbol bounds', function() {
44
var doc = new Document();
55
var path = new Path.Circle([50, 50], 50);
6+
path.strokeWidth = 1;
7+
path.strokeCap = 'round';
8+
path.strokeJoin = 'round';
9+
compareRectangles(path.strokeBounds,
10+
new Rectangle(-0.5, -0.5, 101, 101),
11+
'Path initial bounds.');
612
var symbol = new Symbol(path);
713
var placedSymbol = new PlacedSymbol(symbol);
814

0 commit comments

Comments
 (0)