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

Unified Diff: test/global/activate/path_package_test.dart

Issue 1281623002: Fix a bunch of pub tests that started running "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 4 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: test/global/activate/path_package_test.dart
diff --git a/test/global/activate/path_package_test.dart b/test/global/activate/path_package_test.dart
index 83c8dc7750267ae1c4169eef6be2072e60b43a73..37bfc1b284422d498247e75d4202e8b503b4c3c1 100644
--- a/test/global/activate/path_package_test.dart
+++ b/test/global/activate/path_package_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';
@@ -19,6 +20,6 @@ main() {
var path = canonicalize(p.join(sandboxDir, "foo"));
schedulePub(args: ["global", "activate", "--source", "path", "../foo"],
- output: 'Activated foo 1.0.0 at path "$path".');
+ output: endsWith('Activated foo 1.0.0 at path "$path".'));
});
}
« no previous file with comments | « test/global/activate/activate_path_after_hosted_test.dart ('k') | test/global/run/errors_if_outside_bin_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698