Index: tests/standalone/io/print_env.dart |
diff --git a/tests/standalone/io/print_env.dart b/tests/standalone/io/print_env.dart |
index 28f926ce4fbf37e70cf7f7cc2f69b87ca256f272..4337451f1c35580a5039ab9a5886e895c8a3be2a 100644 |
--- a/tests/standalone/io/print_env.dart |
+++ b/tests/standalone/io/print_env.dart |
@@ -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]]); |
} |