Index: tests/html/history_test.dart |
diff --git a/tests/html/history_test.dart b/tests/html/history_test.dart |
index 7ee08cec4b53f50132511e5fd42b31997f5ade0f..f8fd54786661e9deb06663223a38aaa3554d0afe 100644 |
--- a/tests/html/history_test.dart |
+++ b/tests/html/history_test.dart |
@@ -43,8 +43,8 @@ main() { |
expect(window.location.href.endsWith('dummy2'), isTrue); |
// Need to wait a frame or two to let the pushState events occur. |
- new Timer(const Duration(milliseconds: 100), expectAsync0(() { |
- window.onPopState.first.then(expectAsync1((_){ |
+ new Timer(const Duration(milliseconds: 100), expectAsync(() { |
+ window.onPopState.first.then(expectAsync((_){ |
expect(window.history.length, length); |
expect(window.location.href.endsWith('dummy1'), isTrue); |
})); |