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

Unified Diff: tests/corelib/bool_from_environment_test.dart

Issue 546053002: - Refactor the way X.fromEnvironment is implemented. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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
« runtime/vm/dart_api_impl.h ('K') | « runtime/vm/symbols.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/bool_from_environment_test.dart
===================================================================
--- tests/corelib/bool_from_environment_test.dart (revision 39888)
+++ tests/corelib/bool_from_environment_test.dart (working copy)
@@ -11,4 +11,5 @@
Expect.isTrue(const bool.fromEnvironment('c', defaultValue: true));
Expect.isFalse(const bool.fromEnvironment('c', defaultValue: false));
Expect.isFalse(const bool.fromEnvironment('d', defaultValue: false));
+ Expect.equals(const bool.fromEnvironment('dart.isVM'), !identical(1.0, 1));
}
« runtime/vm/dart_api_impl.h ('K') | « runtime/vm/symbols.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698