Index: tests/html/domparser_test.dart |
=================================================================== |
--- tests/html/domparser_test.dart (revision 14114) |
+++ tests/html/domparser_test.dart (working copy) |
@@ -9,7 +9,7 @@ |
test('constructorTest', () { |
var ctx = new DOMParser(); |
- Expect.isTrue(ctx != null); |
- Expect.isTrue(ctx is DOMParser); |
+ expect(ctx, isNotNull); |
+ expect(ctx, new isInstanceOf<DOMParser>('DOMParser')); |
}); |
} |