Index: tests/html/element_animate_test.dart |
diff --git a/tests/html/element_animate_test.dart b/tests/html/element_animate_test.dart |
index 31becda7d9cdd3720539fdd319efcb5a258b4319..10477c9bc2ee4f8097558630850affe846bc7e42 100644 |
--- a/tests/html/element_animate_test.dart |
+++ b/tests/html/element_animate_test.dart |
@@ -14,7 +14,7 @@ main() { |
group('animate_supported', () { |
test('supported', () { |
- expect(AnimationPlayer.supported, true); |
+ expect(Animation.supported, isTrue); |
}); |
}); |
@@ -24,7 +24,7 @@ main() { |
var opacity = num.parse(body.getComputedStyle().opacity); |
body.animate([{"opacity": 100}, {"opacity": 0}], 100); |
var newOpacity = num.parse(body.getComputedStyle().opacity); |
- expect(newOpacity < opacity, isTrue); |
+ expect(newOpacity == opacity, isTrue); |
}); |
}); |