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

Unified Diff: utils/tests/pub/install/hosted/stay_locked_if_compatible_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/stay_locked_if_compatible_test.dart
diff --git a/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart b/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart
index aa792964230e64ffa98518e38dd23cbfcdecd61e..e6ccc35a55f304845b6f96e4cf362e4bfa58a8c8 100644
--- a/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart
+++ b/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart
@@ -7,11 +7,10 @@ library pub_tests;
import 'dart:io';
import '../../test_pub.dart';
-import '../../../../../pkg/unittest/lib/unittest.dart';
main() {
- test("doesn't update a locked pub server package with a new compatible "
- "constraint", () {
+ integration("doesn't update a locked pub server package with a new "
+ "compatible constraint", () {
servePackages([package("foo", "1.0.0")]);
appDir([dependency("foo")]).scheduleCreate();
@@ -29,7 +28,5 @@ main() {
output: new RegExp(r"Dependencies installed!$"));
packagesDir({"foo": "1.0.0"}).scheduleValidate();
-
- run();
});
}

Powered by Google App Engine
This is Rietveld 408576698