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

Unified Diff: sdk/lib/_internal/pub/test/global/binstubs/warns_if_not_on_path_test.dart

Issue 600313002: Fix path warning test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/global/binstubs/warns_if_not_on_path_test.dart
diff --git a/sdk/lib/_internal/pub/test/global/binstubs/warns_if_not_on_path.dart b/sdk/lib/_internal/pub/test/global/binstubs/warns_if_not_on_path_test.dart
similarity index 89%
rename from sdk/lib/_internal/pub/test/global/binstubs/warns_if_not_on_path.dart
rename to sdk/lib/_internal/pub/test/global/binstubs/warns_if_not_on_path_test.dart
index 8ea5d2e347dd8e104ff46378fcf95d62104494c3..ec3fedb56f32f4b6048cb6445f826ccf00a1a151 100644
--- a/sdk/lib/_internal/pub/test/global/binstubs/warns_if_not_on_path.dart
+++ b/sdk/lib/_internal/pub/test/global/binstubs/warns_if_not_on_path_test.dart
@@ -13,7 +13,7 @@ main() {
servePackages((builder) {
builder.serve("foo", "1.0.0", pubspec: {
"executables": {
- "script": null
+ "some-dart-script": "script"
}
}, contents: [
d.dir("bin", [
@@ -23,6 +23,6 @@ main() {
});
schedulePub(args: ["global", "activate", "foo"],
- output: contains("is not on your path"));
+ error: contains("is not on your path"));
});
}

Powered by Google App Engine
This is Rietveld 408576698