Index: sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_global_run_if_no_snapshot_test.dart |
diff --git a/sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_global_run_if_no_snapshot_test.dart b/sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_global_run_if_no_snapshot_test.dart |
index da72ec3fb0741c86dc69ab4c6785f5185396667e..e8f7d153cf0b1ab3422af4dfd51f5078edc75a6b 100644 |
--- a/sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_global_run_if_no_snapshot_test.dart |
+++ b/sdk/lib/_internal/pub/test/global/binstubs/binstub_runs_global_run_if_no_snapshot_test.dart |
@@ -6,6 +6,7 @@ import 'package:scheduled_test/scheduled_test.dart'; |
import '../../descriptor.dart' as d; |
import '../../test_pub.dart'; |
+import 'utils.dart'; |
main() { |
initConfig(); |
@@ -28,7 +29,8 @@ main() { |
d.dir(cachePath, [ |
d.dir("bin", [ |
- d.matcherFile("foo-script", contains("pub global run foo:script")) |
+ d.matcherFile(binStubName("foo-script"), |
+ contains("pub global run foo:script")) |
]) |
]).validate(); |
}); |