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

Unified Diff: sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart

Issue 19503006: Use appPubspec() in more places. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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: sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart
diff --git a/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart b/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart
index f6f46284560535f4bf73cc1f5563018bb67603cd..25bf4b6d231160662b5c17fce637ed50894554ca 100644
--- a/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart
+++ b/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart
@@ -15,16 +15,13 @@ main() {
forBothPubInstallAndUpdate((command) {
integration('fails gracefully if the url does not resolve', () {
d.dir(appPath, [
- d.pubspec({
- "name": "myapp",
- "dependencies": {
- "foo": {
- "hosted": {
- "name": "foo",
- "url": "http://pub.invalid"
- }
+ d.appPubspec({
+ "foo": {
+ "hosted": {
+ "name": "foo",
+ "url": "http://pub.invalid"
}
- }
+ }
})
]).create();

Powered by Google App Engine
This is Rietveld 408576698