| Index: tests/dom/history_test.dart
|
| ===================================================================
|
| --- tests/dom/history_test.dart (revision 8345)
|
| +++ tests/dom/history_test.dart (working copy)
|
| @@ -7,12 +7,12 @@
|
| useDomConfiguration();
|
| 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);
|
| });
|
| }
|
|
|