| Index: test/global/activate/activate_path_after_hosted_test.dart
|
| diff --git a/test/global/activate/activate_path_after_hosted_test.dart b/test/global/activate/activate_path_after_hosted_test.dart
|
| index 1f37910931ce318f15d712918a88b06a4c2afc45..318e45b212b9d8e8c7221844541184a48411822d 100644
|
| --- a/test/global/activate/activate_path_after_hosted_test.dart
|
| +++ b/test/global/activate/activate_path_after_hosted_test.dart
|
| @@ -4,6 +4,7 @@
|
|
|
| import 'package:path/path.dart' as p;
|
| import 'package:pub/src/io.dart';
|
| +import 'package:scheduled_test/scheduled_test.dart';
|
|
|
| import '../../descriptor.dart' as d;
|
| import '../../test_pub.dart';
|
| @@ -28,9 +29,12 @@ main() {
|
| schedulePub(args: ["global", "activate", "foo"]);
|
|
|
| var path = canonicalize(p.join(sandboxDir, "foo"));
|
| - schedulePub(args: ["global", "activate", "-spath", "../foo"], output: """
|
| - Package foo is currently active at version 1.0.0.
|
| - Activated foo 2.0.0 at path "$path".""");
|
| + schedulePub(
|
| + args: ["global", "activate", "-spath", "../foo"],
|
| + output: allOf([
|
| + contains("Package foo is currently active at version 1.0.0."),
|
| + contains('Activated foo 2.0.0 at path "$path".')
|
| + ]));
|
|
|
| // Should now run the path one.
|
| var pub = pubRun(global: true, args: ["foo"]);
|
|
|