Index: sdk/lib/_internal/pub/test/run/mode_test.dart |
diff --git a/sdk/lib/_internal/pub/test/run/mode_test.dart b/sdk/lib/_internal/pub/test/run/mode_test.dart |
index f6c60ff84c9c518bc400f3d57b4a0c1a89e5afd5..ff8fd4bf8df932270a0debe1c17892f5395fa000 100644 |
--- a/sdk/lib/_internal/pub/test/run/mode_test.dart |
+++ b/sdk/lib/_internal/pub/test/run/mode_test.dart |
@@ -43,12 +43,12 @@ main() { |
createLockFile('myapp', pkg: ['barback']); |
// By default it should run in debug mode. |
- var pub = pubRun(args: ["script"]); |
+ var pub = pubRun(args: ["bin/script"]); |
pub.stdout.expect("debug"); |
pub.shouldExit(); |
// A custom mode should be specifiable. |
- pub = pubRun(args: ["--mode", "custom-mode", "script"]); |
+ pub = pubRun(args: ["--mode", "custom-mode", "bin/script"]); |
pub.stdout.expect("custom-mode"); |
pub.shouldExit(); |
}); |