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