Path tests: Change expected values in failing test, as the tested behaviour is correct.

This commit is contained in:
Jonathan Puckey 2011-06-13 20:08:09 +02:00
parent e23ac6809b
commit 71c5902112

View file

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