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

Unified Diff: tests/standalone/io/locale_name_test.dart

Issue 2791453002: Revert "[dart:io] Adds Platform.localeName" (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/platform_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/locale_name_test.dart
diff --git a/tests/standalone/io/locale_name_test.dart b/tests/standalone/io/locale_name_test.dart
deleted file mode 100644
index 6beffabb00a3bda6160911cae4ddbe037cb8738f..0000000000000000000000000000000000000000
--- a/tests/standalone/io/locale_name_test.dart
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-import 'dart:io';
-
-import "package:expect/expect.dart";
-
-main() {
- try {
- Platform.localeName;
- } catch (e, s) {
- Expect.fail("Platform.localeName threw: $e\n$s\n");
- }
- Expect.isNotNull(Platform.localeName);
- Expect.isTrue(Platform.localeName is String);
- print(Platform.localeName);
-}
« no previous file with comments | « sdk/lib/io/platform_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698