Fix empty tests.

This commit is contained in:
Jürg Lehni 2013-06-11 13:40:50 -07:00
parent 763ce7f4b1
commit 3a043e0023
2 changed files with 9 additions and 0 deletions

View file

@ -281,4 +281,7 @@ test('Path#fullySelected', function() {
test('Simplifying a path with three segments of the same position should not throw an error', function() {
var path = new Path([20, 20], [20, 20], [20, 20]);
path.simplify();
equals(function() {
return path.segments.length;
}, 1);
});