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

Side by Side Diff: tests/standalone/io/locale_name_test.dart

Issue 2785073002: [dart:io] Adds Platform.localeName (Closed)
Patch Set: Update CHANGELOG Created 3 years, 8 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
(Empty)
1 import 'dart:io';
2
3 import "package:expect/expect.dart";
4
5 main() {
6 try {
7 Platform.localeName;
8 } catch (e, s) {
9 Expect.fail("Platform.localeName threw: $e\n$s\n");
10 }
11 Expect.isNotNull(Platform.localeName);
12 Expect.isTrue(Platform.localeName is String);
13 print(Platform.localeName);
14 }
siva 2017/03/30 17:35:35 Need status file update for dart2js, analyzer etc.
zra 2017/03/30 17:48:38 I believe standalone/io tests are already handled
OLDNEW
« sdk/lib/_internal/js_runtime/lib/io_patch.dart ('K') | « sdk/lib/io/platform_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698