Index: tests/html/location_test.dart |
=================================================================== |
--- tests/html/location_test.dart (revision 14114) |
+++ tests/html/location_test.dart (working copy) |
@@ -8,11 +8,11 @@ |
test('location hash', () { |
final location = window.location; |
- Expect.isTrue(location is Location); |
+ expect(location, new isInstanceOf<Location>('Location')); |
// The only navigation we dare try is hash. |
location.hash = 'hello'; |
var h = location.hash; |
- Expect.equals('#hello', h); |
+ expect(h, '#hello'); |
}); |
} |