From 71c590211209a37994345a26f1919b6b0c2ff2ff Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Mon, 13 Jun 2011 20:08:09 +0200 Subject: [PATCH] Path tests: Change expected values in failing test, as the tested behaviour is correct. --- test/tests/Path.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/tests/Path.js b/test/tests/Path.js index 97286645..9e6af806 100644 --- a/test/tests/Path.js +++ b/test/tests/Path.js @@ -70,12 +70,10 @@ test('path.remove()', function() { return path.segments.length; }, 2); - // TODO: shouldn't this remove two segments? The segments from index 0 till - // index 1? path.removeSegments(0, 1); equals(function() { return path.segments.length; - }, 0); + }, 1); path.remove();