| 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 fbf904342c34690914bd026298a6364b858b3c5e..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
|
| @@ -6,13 +6,12 @@ library pub_tests;
|
|
|
| import 'dart:io';
|
|
|
| -import '../../descriptor.dart' as d;
|
| import '../../test_pub.dart';
|
|
|
| main() {
|
| integration('fails gracefully if the url does not resolve', () {
|
| - d.dir(appPath, [
|
| - d.pubspec({
|
| + dir(appPath, [
|
| + pubspec({
|
| "name": "myapp",
|
| "dependencies": {
|
| "foo": {
|
| @@ -23,7 +22,7 @@ main() {
|
| }
|
| }
|
| })
|
| - ]).create();
|
| + ]).scheduleCreate();
|
|
|
| schedulePub(args: ['update'],
|
| error: new RegExp('Could not resolve URL "http://pub.invalid".'),
|
|
|