From 0fd8c4e046f18653ffc1b805e79ff47c99ba7ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 15 May 2011 19:09:34 +0100 Subject: [PATCH] Fix CompoundPath test and add it to load.js so it actually gets tested. --- src/load.js | 3 ++- test/tests/CompoundPath.js | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/load.js b/src/load.js index 0ae20540..d5aa27e1 100644 --- a/src/load.js +++ b/src/load.js @@ -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' ); } diff --git a/test/tests/CompoundPath.js b/test/tests/CompoundPath.js index 8d6c054d..70295355 100644 --- a/test/tests/CompoundPath.js +++ b/test/tests/CompoundPath.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)); -}); \ No newline at end of file + }, 2); +});