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

Unified Diff: sdk/lib/_internal/pub/test/install/hosted/stay_locked_test.dart

Issue 16034002: Use helper methods for running pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Get rid of unnecessary RegExps in tests. Created 7 years, 7 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: sdk/lib/_internal/pub/test/install/hosted/stay_locked_test.dart
diff --git a/sdk/lib/_internal/pub/test/install/hosted/stay_locked_test.dart b/sdk/lib/_internal/pub/test/install/hosted/stay_locked_test.dart
index 188012e719ab85f3bc643aacdf92ac402dc33b3a..4cbafe390253c6cbd3d5405f06f415be56acd311 100644
--- a/sdk/lib/_internal/pub/test/install/hosted/stay_locked_test.dart
+++ b/sdk/lib/_internal/pub/test/install/hosted/stay_locked_test.dart
@@ -22,8 +22,7 @@ main() {
d.appDir([dependencyMap("foo")]).create();
// This install should lock the foo dependency to version 1.0.0.
- schedulePub(args: ['install'],
- output: new RegExp(r"Dependencies installed!$"));
+ pubInstall();
d.packagesDir({"foo": "1.0.0"}).validate();
@@ -34,8 +33,7 @@ main() {
servePackages([packageMap("foo", "1.0.1")]);
// This install shouldn't update the foo dependency due to the lockfile.
- schedulePub(args: ['install'],
- output: new RegExp(r"Dependencies installed!$"));
+ pubInstall();
d.packagesDir({"foo": "1.0.0"}).validate();
});

Powered by Google App Engine
This is Rietveld 408576698