OLD | NEW |
1 #library('WindowEqualityTest'); | 1 #library('WindowEqualityTest'); |
2 #import('../../pkg/unittest/lib/unittest.dart'); | 2 #import('../../pkg/unittest/unittest.dart'); |
3 #import('../../pkg/unittest/lib/html_config.dart'); | 3 #import('../../pkg/unittest/html_config.dart'); |
4 #import('dart:html'); | 4 #import('dart:html'); |
5 | 5 |
6 main() { | 6 main() { |
7 useHtmlConfiguration(); | 7 useHtmlConfiguration(); |
8 var obfuscated = null; | 8 var obfuscated = null; |
9 | 9 |
10 test('notNull', () { | 10 test('notNull', () { |
11 Expect.isNotNull(window); | 11 Expect.isNotNull(window); |
12 Expect.isTrue(window != obfuscated); | 12 Expect.isTrue(window != obfuscated); |
13 }); | 13 }); |
14 } | 14 } |
OLD | NEW |