Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(694)

Side by Side Diff: pkg/dev_compiler/test/codegen/lib/html/navigator_test.dart

Issue 2419863002: Remove uses of unittest in the HTML tests where possible. (Closed)
Patch Set: Remove TODO. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library NavigatorTest;
2 import 'package:unittest/unittest.dart';
3 import 'package:unittest/html_config.dart';
4 import 'dart:html'; 1 import 'dart:html';
5 2
3 import 'package:expect/expect.dart';
4
6 main() { 5 main() {
7 useHtmlConfiguration(); 6 Expect.isNotNull(window.navigator.language);
Jacob 2016/10/14 16:44:38 nit: why delete the test block here? I know the te
8
9 test('language never returns null', () {
10 expect(window.navigator.language, isNotNull);
11 });
12 } 7 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698