web-animations / web-animations-js

JavaScript implementation of the Web Animations API
http://web-animations.github.io
Apache License 2.0
3.77k stars 408 forks source link

Update test expectations for spaceless function() #154

Closed ewilligers closed 7 years ago

ewilligers commented 7 years ago

test/web-platform-tests/web-animations/interfaces/Animatable/animate-basic.html was failing on my Desktop with

Failed differently:
  Test: 'Element.animate() does not accept property-indexed keyframes with an invalid easing value'
  Expected: 'assert_throws: function "function () {\n      div.animate(subtest.input, 2000);\n    }" did not throw'
  Actual:   'assert_throws: function "function() {\n      div.animate(subtest.input, 2000);\n    }" did not throw'

This is a simple change in function serialization.