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

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

Issue 12782005: Revert "Use scheduled_test for Pub tests." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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/fail_gracefully_on_missing_package_test.dart
diff --git a/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart b/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart
index e0b461590e04596e59bbd272613680973d3c086f..ed0ca96e6dca3ffb4d1c7de9a36613daaa71298c 100644
--- a/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart
+++ b/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart
@@ -6,14 +6,13 @@ library pub_tests;
import 'dart:io';
-import '../../descriptor.dart' as d;
import '../../test_pub.dart';
main() {
integration('fails gracefully if the package does not exist', () {
servePackages([]);
- d.appDir([dependencyMap("foo", "1.2.3")]).create();
+ appDir([dependency("foo", "1.2.3")]).scheduleCreate();
schedulePub(args: ['install'],
error: new RegExp('Could not find package "foo" at '

Powered by Google App Engine
This is Rietveld 408576698