OLD | NEW |
1 library WindowEqualityTest; | 1 library WindowEqualityTest; |
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 var obfuscated = null; | 8 var obfuscated = null; |
9 | 9 |
10 test('notNull', () { | 10 test('notNull', () { |
11 expect(window, isNotNull); | 11 expect(window, isNotNull); |
12 expect(window, isNot(equals(obfuscated))); | 12 expect(window, isNot(equals(obfuscated))); |
13 }); | 13 }); |
14 } | 14 } |
OLD | NEW |