Fix CompoundPath test and add it to load.js so it actually gets tested.

This commit is contained in:
Jürg Lehni 2011-05-15 19:09:34 +01:00
parent c9d0f982c2
commit 0fd8c4e046
2 changed files with 4 additions and 4 deletions

View file

@ -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'
);
}

View file

@ -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);
});