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

Unified Diff: sdk/lib/_internal/pub/test/get/git/check_out_and_upgrade_test.dart

Issue 844263004: Properly update git binary snapshots during pub upgrade. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix tests Created 5 years, 11 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/get/git/check_out_and_upgrade_test.dart
diff --git a/sdk/lib/_internal/pub/test/get/git/check_out_and_upgrade_test.dart b/sdk/lib/_internal/pub/test/get/git/check_out_and_upgrade_test.dart
index f6dc68160d6657719d889492cb4cb8c713aae156..f2ff3bfeb545c967d8838a4b01996e88cd1972ab 100644
--- a/sdk/lib/_internal/pub/test/get/git/check_out_and_upgrade_test.dart
+++ b/sdk/lib/_internal/pub/test/get/git/check_out_and_upgrade_test.dart
@@ -4,6 +4,8 @@
library pub_tests;
+import 'package:scheduled_test/scheduled_test.dart';
+
import '../../descriptor.dart' as d;
import '../../test_pub.dart';
@@ -39,7 +41,7 @@ main() {
d.libPubspec('foo', '1.0.0')
]).commit();
- pubUpgrade();
+ pubUpgrade(output: contains("Changed 1 dependency!"));
// When we download a new version of the git package, we should re-use the
// git/cache directory but create a new git/ directory.

Powered by Google App Engine
This is Rietveld 408576698