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

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

Issue 57813002: Version 0.8.10.3 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | « dart/tests/language/language_dart2js.status ('k') | dart/tests/standalone/io/process_environment_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/standalone/io/print_env.dart
===================================================================
--- dart/tests/standalone/io/print_env.dart (revision 29802)
+++ dart/tests/standalone/io/print_env.dart (working copy)
@@ -5,5 +5,8 @@
import "dart:io";
main(List<String> arguments) {
+ if (!Platform.script.isAbsolute) {
+ throw "Platform.script is not absolute: ${Platform.script}";
+ }
print(Platform.environment[arguments[0]]);
}
« no previous file with comments | « dart/tests/language/language_dart2js.status ('k') | dart/tests/standalone/io/process_environment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698