Index: sdk/lib/_internal/pub/test/run/nonexistent_script_in_dependency_test.dart |
diff --git a/sdk/lib/_internal/pub/test/run/nonexistent_script_in_dependency_test.dart b/sdk/lib/_internal/pub/test/run/nonexistent_script_in_dependency_test.dart |
index 5919b7e042cc527b4e0265204d9a4a242fdffeb5..8379a8637c4853f34baa5fb9f7acdbe1966207ba 100644 |
--- a/sdk/lib/_internal/pub/test/run/nonexistent_script_in_dependency_test.dart |
+++ b/sdk/lib/_internal/pub/test/run/nonexistent_script_in_dependency_test.dart |
@@ -2,6 +2,8 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+import 'package:path/path.dart' as p; |
+ |
import '../../lib/src/exit_codes.dart' as exit_codes; |
import '../descriptor.dart' as d; |
import '../test_pub.dart'; |
@@ -23,7 +25,8 @@ main() { |
pubGet(); |
var pub = pubRun(args: ["foo:script"]); |
- pub.stderr.expect("Could not find bin/script.dart in package foo."); |
+ pub.stderr.expect( |
+ "Could not find ${p.join("bin", "script.dart")} in package foo."); |
pub.shouldExit(exit_codes.NO_INPUT); |
}); |
} |