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

Unified Diff: sdk/lib/_internal/pub/test/run/mode_test.dart

Issue 1040563004: Make "pub run foo" run "pub run foo:foo" rather than "pub run bin/foo" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove bogus changes. Created 5 years, 9 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
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();
});

Powered by Google App Engine
This is Rietveld 408576698