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

Unified Diff: test/dart_codegen/expect/async/async_error.dart

Issue 959073002: Fix new line breaks on } (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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: test/dart_codegen/expect/async/async_error.dart
diff --git a/test/dart_codegen/expect/async/async_error.dart b/test/dart_codegen/expect/async/async_error.dart
index c14102377b79113489a378b60b088440fda6e961..990ea185632175e3a1e325f49a90a8a03e69db61 100644
--- a/test/dart_codegen/expect/async/async_error.dart
+++ b/test/dart_codegen/expect/async/async_error.dart
@@ -24,12 +24,11 @@ part of dart.async;
return null;
}
String toString() {
- String result = "Uncaught Error: ${error}
-";
- if (stackTrace != null) {
- result += "\nStack Trace:\n$stackTrace";
+ String result = "Uncaught Error: ${error}";
+ if (stackTrace != null) {
+ result += "\nStack Trace:\n$stackTrace";
+ }
+ return result;
}
- return result;
-}
}
typedef dynamic __t0(dynamic __u1);
« no previous file with comments | « test/dart_codegen/expect/_internal/sort.dart ('k') | test/dart_codegen/expect/async/broadcast_stream_controller.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698