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

Unified Diff: tests/html/navigator_test.dart

Issue 11419294: Use language or userlanguage (IE) depending on what's defined in the browser. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: template fix Created 8 years 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 side-by-side diff with in-line comments
Download patch
Index: tests/html/navigator_test.dart
diff --git a/tests/html/b_element_test.dart b/tests/html/navigator_test.dart
similarity index 55%
copy from tests/html/b_element_test.dart
copy to tests/html/navigator_test.dart
index 1cd71b6a1e7800b8ff62c18a6438f6bca7dd5f1e..abbcc4e541930072c804bb0f7423d5425779052b 100644
--- a/tests/html/b_element_test.dart
+++ b/tests/html/navigator_test.dart
@@ -1,4 +1,4 @@
-library BElementTest;
+library NavigatorTest;
import '../../pkg/unittest/lib/unittest.dart';
import '../../pkg/unittest/lib/html_config.dart';
import 'dart:html';
@@ -6,8 +6,7 @@ import 'dart:html';
main() {
useHtmlConfiguration();
- test('create b', () {
- new Element.tag('b');
Emily Fortuna 2012/12/03 20:30:14 I think this is git being weird. The navigator_tes
- });
+ test('language never returns null', () {
+ expect(window.navigator.language, isNotNull);
+ });
}
-

Powered by Google App Engine
This is Rietveld 408576698