Index: tests/html/xhr_cross_origin_test.dart |
=================================================================== |
--- tests/html/xhr_cross_origin_test.dart (revision 14114) |
+++ tests/html/xhr_cross_origin_test.dart (working copy) |
@@ -18,7 +18,7 @@ |
var validate = expectAsync1((data) { |
expect(data, contains('feed')); |
expect(data['feed'], contains('entry')); |
- expect(data is Map, isTrue); |
+ expect(data, new isInstanceOf<Map>('Map')); |
}); |
xhr.on.readyStateChange.add((e) { |
guardAsync(() { |
@@ -36,7 +36,7 @@ |
var data = JSON.parse(xhr.response); |
expect(data, contains('feed')); |
expect(data['feed'], contains('entry')); |
- expect(data is Map, isTrue); |
+ expect(data, new isInstanceOf<Map>('Map')); |
})); |
}); |
} |