Permalink
Browse files

Fix path tests

  • Loading branch information...
nvh committed Jan 16, 2018
1 parent efbc233 commit 43fd2a4ab0c7728b6f766d15555d621a509a0a61
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/tests/LayerAnimationTest.coffee
  2. +1 −1 test/tests/SVGPathTest.coffee
@@ -1272,7 +1272,7 @@ describe "LayerAnimation", ->
it "should animate along a path", (done) ->
svg = new SVGLayer
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M 100 50 C 100 77.614 77.614 100 50 100 C 22.386 100 0 77.614 0 50 C 0 22.386 22.386 0 50 0" id="path" fill="transparent" stroke="#0AF"></path></svg>'
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M 100 50 C 100 77.614 77.614 100 50 100 C 22.386 100 0 77.614 0 50 C 0 22.386 22.386 0 50 0" id="path" name="path" fill="transparent" stroke="#0AF"></path></svg>'
path = svg.elements.path
l = new Layer
size: 10
@@ -5,7 +5,7 @@ describe "SVGPath", ->
svg = new SVGLayer
x: 123
y: 456
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M 100 50 C 100 77.614 77.614 100 50 100 C 22.386 100 0 77.614 0 50 C 0 22.386 22.386 0 50 0" id="path" fill="transparent" stroke="#0AF"></path></svg>'
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M 100 50 C 100 77.614 77.614 100 50 100 C 22.386 100 0 77.614 0 50 C 0 22.386 22.386 0 50 0" id="path" name="path" fill="transparent" stroke="#0AF"></path></svg>'
path = svg.elements.path
it "should get the beginning", ->

0 comments on commit 43fd2a4

Please sign in to comment.