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

Unified Diff: utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_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/update/hosted/fail_gracefully_on_missing_package_test.dart
diff --git a/utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart b/utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart
index e9e980ae7e48446d5a007a0f17ae8d987ce69fff..6bbb45cf729360812357129bced9a57652c66b6b 100644
--- a/utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart
+++ b/utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart
@@ -7,10 +7,9 @@ library pub_tests;
import 'dart:io';
import '../../test_pub.dart';
-import '../../../../../pkg/unittest/lib/unittest.dart';
main() {
- test('fails gracefully if the package does not exist', () {
+ integration('fails gracefully if the package does not exist', () {
servePackages([]);
appDir([dependency("foo", "1.2.3")]).scheduleCreate();
@@ -19,7 +18,5 @@ main() {
error: new RegExp('Could not find package "foo" at '
'http://localhost:'),
exitCode: 1);
-
- run();
});
}

Powered by Google App Engine
This is Rietveld 408576698