Index: tests/lib_strong/html/element_animate_test.dart |
diff --git a/tests/lib_strong/html/element_animate_test.dart b/tests/lib_strong/html/element_animate_test.dart |
index 10477c9bc2ee4f8097558630850affe846bc7e42..99d41496bec3893cf84d6c9cd0bc807032788a39 100644 |
--- a/tests/lib_strong/html/element_animate_test.dart |
+++ b/tests/lib_strong/html/element_animate_test.dart |
@@ -22,7 +22,10 @@ main() { |
test('simple timing', () { |
var body = document.body; |
var opacity = num.parse(body.getComputedStyle().opacity); |
- body.animate([{"opacity": 100}, {"opacity": 0}], 100); |
+ body.animate([ |
+ {"opacity": 100}, |
+ {"opacity": 0} |
+ ], 100); |
var newOpacity = num.parse(body.getComputedStyle().opacity); |
expect(newOpacity == opacity, isTrue); |
}); |
@@ -33,8 +36,12 @@ main() { |
var body = document.body; |
// Animate different characteristics so the tests can run concurrently. |
var fontSize = body.getComputedStyle().fontSize; |
- var player = body.animate( |
- [{"font-size": "500px"}, {"font-size": fontSize}], {"duration": 100}); |
+ var player = body.animate([ |
+ {"font-size": "500px"}, |
+ {"font-size": fontSize} |
+ ], { |
+ "duration": 100 |
+ }); |
var newFontSize = body.getComputedStyle().fontSize; |
// Don't bother to parse to numbers, as long as it's changed that |
// indicates something is happening. |