mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix CompoundPath test and add it to load.js so it actually gets tested.
This commit is contained in:
parent
c9d0f982c2
commit
0fd8c4e046
2 changed files with 4 additions and 4 deletions
|
@ -99,12 +99,13 @@ if (window.tests) {
|
|||
'test/tests/Group.js',
|
||||
'test/tests/Segment.js',
|
||||
'test/tests/Path.js',
|
||||
'test/tests/PathStyle.js',
|
||||
'test/tests/Path_Shapes.js',
|
||||
'test/tests/Path_Drawing_Commands.js',
|
||||
'test/tests/Path_Curves.js',
|
||||
'test/tests/Path_Bounds.js',
|
||||
'test/tests/Path_Length.js',
|
||||
'test/tests/PathStyle.js',
|
||||
'test/tests/CompoundPath.js',
|
||||
'test/tests/PlacedSymbol.js'
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
module('Compound Path');
|
||||
|
||||
test('moveTo / lineTo', function() {
|
||||
var doc = new Document(canvas);
|
||||
var path = new CompoundPath();
|
||||
|
||||
var lists = [
|
||||
|
@ -20,5 +19,5 @@ test('moveTo / lineTo', function() {
|
|||
|
||||
equals(function() {
|
||||
return path.children.length;
|
||||
}, 2));
|
||||
});
|
||||
}, 2);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue