OLD | NEW |
---|---|
(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
| |
OLD | NEW |