OLD | NEW |
1 import 'dart:html'; | 1 import 'dart:html'; |
2 | 2 |
3 import 'package:minitest/minitest.dart'; | 3 import 'package:expect/minitest.dart'; |
4 | 4 |
5 main() { | 5 main() { |
6 var isDomParser = predicate((x) => x is DomParser, 'is a DomParser'); | 6 var isDomParser = predicate((x) => x is DomParser, 'is a DomParser'); |
7 | 7 |
8 test('constructorTest', () { | 8 test('constructorTest', () { |
9 var ctx = new DomParser(); | 9 var ctx = new DomParser(); |
10 expect(ctx, isNotNull); | 10 expect(ctx, isNotNull); |
11 expect(ctx, isDomParser); | 11 expect(ctx, isDomParser); |
12 }); | 12 }); |
13 } | 13 } |
OLD | NEW |