diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec/array.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/spec/array.js b/spec/spec/array.js index 01927d8..5b951a9 100644 --- a/spec/spec/array.js +++ b/spec/spec/array.js @@ -43,6 +43,11 @@ describe('PointArray', function () { expect(array + '').toBe('2176.6,1708.8 2176.4,1755.8 2245.8,1801.5 2297,1787.8') }) + it('parses points with space delimitered x/y coordinates', function() { + var array = new SVG.PointArray(' 1 2 3 ') + + expect(array + '').toBe('1,2,3') + }) }) describe('PathArray', function () { |