mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Remove duplicate unit tests.
This commit is contained in:
parent
00d2e2a5bb
commit
ed4347714b
3 changed files with 1 additions and 184 deletions
|
@ -378,7 +378,7 @@ test('path.flatten(maxDistance)', function() {
|
|||
}, false, 'The points of the last and first segments should not be the same.');
|
||||
|
||||
equals(function() {
|
||||
return path.lastSegment.point.toString() != path.segments[path.segments.length - 2].point.toString();
|
||||
return path.lastSegment.point.toString() != path.lastSegment.previous.point.toString();
|
||||
}, true, 'The points of the last and before last segments should not be so close, that calling toString on them returns the same string value.');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue