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

Unified Diff: sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_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/update/hosted/unlock_dependers_test.dart
diff --git a/sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_test.dart b/sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_test.dart
index f1b8e4dcaf406518d932ede68d59ecca97dd73d4..b007e00720771434679bca0a6eac55e737ada6a8 100644
--- a/sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_test.dart
+++ b/sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_test.dart
@@ -20,8 +20,7 @@ main() {
d.appDir([dependencyMap("foo"), dependencyMap("bar")]).create();
- schedulePub(args: ['install'],
- output: new RegExp(r"Dependencies installed!$"));
+ pubInstall();
d.packagesDir({
"foo": "1.0.0",
@@ -33,8 +32,7 @@ main() {
packageMap("bar", "2.0.0")
]);
- schedulePub(args: ['update', 'bar'],
- output: new RegExp(r"Dependencies updated!$"));
+ pubUpdate(args: ['bar']);
d.packagesDir({
"foo": "2.0.0",

Powered by Google App Engine
This is Rietveld 408576698