aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authordotnetCarpenter <jon.ronnenberg@gmail.com>2016-10-12 11:26:35 -0200
committerdotnetCarpenter <jon.ronnenberg@gmail.com>2016-10-12 12:53:24 -0200
commit4f8edd919ab159f51d0324b0f0051472055e5da6 (patch)
tree8572062fd7da0f7a402608b4414e022978748a9f /spec
parenteed96bcf59c00584527ac87902ba48669cb8cb6e (diff)
downloadsvg.js-4f8edd919ab159f51d0324b0f0051472055e5da6.tar.gz
svg.js-4f8edd919ab159f51d0324b0f0051472055e5da6.zip
changing implementation according to review by @Fuzzyma
Diffstat (limited to 'spec')
-rw-r--r--spec/spec/array.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec/array.js b/spec/spec/array.js
index 984c6e1..39a2d44 100644
--- a/spec/spec/array.js
+++ b/spec/spec/array.js
@@ -33,7 +33,7 @@ describe('PointArray', function () {
expect(array + '').toBe('0,0.15 -100,-3.141592654 50,100')
})
- it('parses Polygon points string correctly', function() {
+ it('parses points with space delimitered x/y coordinates', function() {
var array = new SVG.PointArray('221.08 191.79 0.46 191.79 0.46 63.92 63.8 0.46 284.46 0.46 284.46 128.37 221.08 191.79')
expect(array + '').toBe('221.08,191.79 0.46,191.79 0.46,63.92 63.8,0.46 284.46,0.46 284.46,128.37 221.08,191.79')