OLD | NEW |
1 library NavigatorTest; | 1 library NavigatorTest; |
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 | 8 |
9 test('language never returns null', () { | 9 test('language never returns null', () { |
10 expect(window.navigator.language, isNotNull); | 10 expect(window.navigator.language, isNotNull); |
11 }); | 11 }); |
12 } | 12 } |
OLD | NEW |