OLD | NEW |
1 #library('DOMConstructorsTest'); | 1 #library('DOMConstructorsTest'); |
2 #import('../../pkg/unittest/unittest.dart'); | 2 #import('../../pkg/unittest/lib/unittest.dart'); |
3 #import('../../pkg/unittest/html_config.dart'); | 3 #import('../../pkg/unittest/lib/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.equals(FileReader.EMPTY, fileReader.readyState); | 10 Expect.equals(FileReader.EMPTY, fileReader.readyState); |
11 }); | 11 }); |
12 } | 12 } |
OLD | NEW |