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

Unified Diff: utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart

Issue 11943005: Make integration tests a bit cleaner. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart
diff --git a/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart b/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart
index 62779364df1d6a6abb903ab55bc56c0d72f11c65..9bd23486dc56ef30b045082506efcf6ea9986578 100644
--- a/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart
+++ b/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart
@@ -7,10 +7,10 @@ library pub_tests;
import 'dart:io';
import '../../test_pub.dart';
-import '../../../../../pkg/unittest/lib/unittest.dart';
main() {
- test("doesn't update dependencies whose constraints have been removed", () {
+ integration("doesn't update dependencies whose constraints have been "
+ "removed", () {
servePackages([
package("foo", "1.0.0", [dependency("shared-dep")]),
package("bar", "1.0.0", [dependency("shared-dep", "<2.0.0")]),
@@ -39,7 +39,5 @@ main() {
"bar": null,
"shared-dep": "1.0.0"
}).scheduleValidate();
-
- run();
});
}

Powered by Google App Engine
This is Rietveld 408576698