Index: utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_test.dart |
diff --git a/utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_test.dart b/utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_test.dart |
index 314f41f7d9439f3ec50ee1002e55dfd8986a861f..d7f8cbd01eee6c93def1bd5a4619a3bf5795ac4f 100644 |
--- a/utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_test.dart |
+++ b/utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_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 url does not resolve', () { |
+ integration('fails gracefully if the url does not resolve', () { |
dir(appPath, [ |
pubspec({ |
"name": "myapp", |
@@ -28,7 +27,5 @@ main() { |
schedulePub(args: ['update'], |
error: new RegExp('Could not resolve URL "http://pub.invalid".'), |
exitCode: 1); |
- |
- run(); |
}); |
} |