Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: tests/html/wheelevent_test.dart

Issue 23829002: Checkpoint in changes to match push (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Ready for review Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/html/wheelevent_test.dart
diff --git a/tests/html/wheelevent_test.dart b/tests/html/wheelevent_test.dart
index ce801f509e18a938d1408acf445f1e1c52c7ac46..4acb908b462e18c99c9675cc432fe76fa90c9fa6 100644
--- a/tests/html/wheelevent_test.dart
+++ b/tests/html/wheelevent_test.dart
@@ -19,7 +19,7 @@ main() {
element.onMouseWheel.listen(expectAsync1((e) {
expect(e.screen.x, 100);
expect(e.deltaX, 0);
- expect(e.deltaY, 240);
+ expect(e.deltaY.toDouble(), 240.0);
expect(e.deltaMode, isNotNull);
}));
var event = new WheelEvent(eventType,
@@ -36,7 +36,7 @@ main() {
element.onMouseWheel.listen(expectAsync1((e) {
expect(e.screen.x, 100);
expect(e.deltaX, 0);
- expect(e.deltaY, 240);
+ expect(e.deltaY.toDouble(), 240.0);
}));
var event = new WheelEvent(eventType,
deltaX: 0,

Powered by Google App Engine
This is Rietveld 408576698