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

Unified Diff: sdk/lib/_internal/pub/test/pub_uploader_test.dart

Issue 391363004: Include file path in JSON error when possible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 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/pub_uploader_test.dart
diff --git a/sdk/lib/_internal/pub/test/pub_uploader_test.dart b/sdk/lib/_internal/pub/test/pub_uploader_test.dart
index 82792dbfd799cde6807042573a29937913cedc13..fbfba2ce3352167f97f003693e17ca9f30e63c7b 100644
--- a/sdk/lib/_internal/pub/test/pub_uploader_test.dart
+++ b/sdk/lib/_internal/pub/test/pub_uploader_test.dart
@@ -5,7 +5,6 @@
library pub_uploader_test;
import 'dart:convert';
-import 'dart:io';
import 'package:scheduled_test/scheduled_process.dart';
import 'package:scheduled_test/scheduled_server.dart';
@@ -13,7 +12,6 @@ import 'package:scheduled_test/scheduled_test.dart';
import 'package:shelf/shelf.dart' as shelf;
import '../lib/src/exit_codes.dart' as exit_codes;
-import '../lib/src/io.dart';
import '../lib/src/utils.dart';
import 'descriptor.dart' as d;
import 'test_pub.dart';
@@ -104,7 +102,6 @@ main() {
return new shelf.Response.ok(JSON.encode({
'success': {'message': 'Good job!'}
}), headers: {'content-type': 'application/json'});
- request.response.close();
});
pub.stdout.expect('Good job!');

Powered by Google App Engine
This is Rietveld 408576698