mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Fixed typo
This commit is contained in:
@@ -23,7 +23,7 @@ describe('shuffle', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe('toPointList', function() {
|
describe('toPointList', function() {
|
||||||
it('converts an Array to a List of poitns', function() {
|
it('converts an Array to a List of points', function() {
|
||||||
var input = [[1, 2], [2, 2], [3, 2]];
|
var input = [[1, 2], [2, 2], [3, 2]];
|
||||||
expect(ArrayHelper.toPointList(input)).to.equal("[[1,2],\r\n[2,2],\r\n[3,2]]");
|
expect(ArrayHelper.toPointList(input)).to.equal("[[1,2],\r\n[2,2],\r\n[3,2]]");
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user