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