Index: tests/html/storage_test.dart |
=================================================================== |
--- tests/html/storage_test.dart (revision 14114) |
+++ tests/html/storage_test.dart (working copy) |
@@ -7,13 +7,13 @@ |
useHtmlConfiguration(); |
test('GetItem', () { |
final value = window.localStorage['does not exist']; |
- Expect.isNull(value); |
+ expect(value, isNull); |
}); |
test('SetItem', () { |
final key = 'foo'; |
final value = 'bar'; |
window.localStorage[key] = value; |
final stored = window.localStorage[key]; |
- Expect.equals(value, stored); |
+ expect(stored, value); |
}); |
} |