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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 10887023: Use new try-catch syntax in runtime/, tools/, and utils/. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « utils/tests/peg/peg_test.dart ('k') | utils/tests/string_encoding/dunit.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index 010a8e465ac40bac5978f4451a7912fda746a074..afc80010a8d9647c8592e1cc08f0a0bb391cf1cc 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -101,7 +101,7 @@ void serve([List<Descriptor> contents]) {
var stream;
try {
stream = baseDir.load(path);
- } catch (var e) {
+ } catch (e) {
response.statusCode = 404;
response.contentLength = 0;
response.outputStream.close();
« no previous file with comments | « utils/tests/peg/peg_test.dart ('k') | utils/tests/string_encoding/dunit.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698