Index: tests/html/history_test.dart |
=================================================================== |
--- tests/html/history_test.dart (revision 8345) |
+++ tests/html/history_test.dart (working copy) |
@@ -7,12 +7,12 @@ |
useHtmlConfiguration(); |
test('History', () { |
window.history.pushState(null, document.title, '?foo=bar'); |
- expect(window.history.length).equals(2); |
+ expect(window.history.length, equals(2)); |
window.history.back(); |
- expect(window.location.href.endsWith('foo=bar')).isTrue(); |
+ expect(window.location.href.endsWith('foo=bar'), isTrue); |
window.history.replaceState(null, document.title, '?foo=baz'); |
- Expect.equals(2, window.history.length); |
- expect(window.location.href.endsWith('foo=baz')).isTrue(); |
+ expect(window.history.length, equals(2)); |
+ expect(window.location.href.endsWith('foo=baz'), isTrue); |
}); |
} |