]> source.dussan.org Git - svg.js.git/commitdiff
fixing test
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>
Thu, 16 Mar 2017 12:17:47 +0000 (13:17 +0100)
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>
Thu, 16 Mar 2017 12:17:47 +0000 (13:17 +0100)
spec/spec/svg.js

index 318b9487d1e35dfce93c4e5b2585fd0d68a5da62..43e41d34facb34a11e49efef9e6a24e28a089029 100644 (file)
@@ -98,7 +98,7 @@ describe('SVG', function() {
       expect(SVG.parser.draw.node.nodeName).toBe('svg')
     })
     it('hides the parser', function() {
-      expect(SVG.parser.draw.node.getAttribute('style')).toBe('opacity: 0; position: absolute; left: -100%; top: -100%; overflow: hidden;')
+      expect(SVG.parser.draw.node.getAttribute('style')).toBe('overflow: hidden; top: -100%; left: -100%; position: absolute; opacity: 0;')
     })
     it('holds polyline and path', function() {
       expect(SVG.select('polyline', SVG.parser.draw.node).first().type).toBe('polyline')