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")); |
}); |
} |