Index: tests/standalone/io/windows_environment_script.dart |
diff --git a/tests/standalone/io/windows_environment_script.dart b/tests/standalone/io/windows_environment_script.dart |
index d0fce497f02ba5a2250038b33df1043d9fa439ce..f142163b480ef7971010367a4cf02a476892c6c0 100644 |
--- a/tests/standalone/io/windows_environment_script.dart |
+++ b/tests/standalone/io/windows_environment_script.dart |
@@ -6,9 +6,9 @@ import "dart:io"; |
main() { |
var scriptDir = Platform.environment['SCRIPTDIR']; |
- Expect.isTrue(scriptDir.contains('å')); |
+ if (!scriptDir.contains('å')) throw "scriptDir not containing character å"; |
scriptDir = Platform.environment['ScriptDir']; |
- Expect.isTrue(scriptDir.contains('å')); |
+ if (!scriptDir.contains('å')) throw "scriptDir not containing character å"; |
var str = new File('$scriptDir/funky.bat').readAsStringSync(); |
- Expect.isTrue(str.contains('%~dp0')); |
+ if (!str.contains('%~dp0')) throw "str not containing dp0"; |
} |