mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Path tests: Change expected values in failing test, as the tested behaviour is correct.
This commit is contained in:
parent
e23ac6809b
commit
71c5902112
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue