OLD | NEW |
1 library DOMConstructorsTest; | 1 library DOMConstructorsTest; |
2 import '../../pkg/unittest/lib/unittest.dart'; | 2 import 'package:unittest/unittest.dart'; |
3 import '../../pkg/unittest/lib/html_config.dart'; | 3 import 'package:unittest/html_config.dart'; |
4 import 'dart:html'; | 4 import 'dart:html'; |
5 | 5 |
6 main() { | 6 main() { |
7 useHtmlConfiguration(); | 7 useHtmlConfiguration(); |
8 test('FileReader', () { | 8 test('FileReader', () { |
9 FileReader fileReader = new FileReader(); | 9 FileReader fileReader = new FileReader(); |
10 expect(fileReader.readyState, equals(FileReader.EMPTY)); | 10 expect(fileReader.readyState, equals(FileReader.EMPTY)); |
11 }); | 11 }); |
12 } | 12 } |
OLD | NEW |