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

Unified Diff: tests/language_strong/issue21159_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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: tests/language_strong/issue21159_test.dart
diff --git a/tests/language_strong/issue21159_test.dart b/tests/language_strong/issue21159_test.dart
index ff90966a6c044d92704f93fe5703dd53b70ffe99..af75c9aa31aedc35e5d0b0c2d360319ec8d0ce4f 100644
--- a/tests/language_strong/issue21159_test.dart
+++ b/tests/language_strong/issue21159_test.dart
@@ -5,21 +5,21 @@
import "package:expect/expect.dart";
class C {
- get call => this;
+ get call => this;
}
// Recurs outside the try-block to avoid disabling inlining.
foo() {
- var c = new C();
- c();
+ var c = new C();
+ c();
}
main() {
- bool exceptionCaught = false;
- try {
- foo();
- } on StackOverflowError catch (e) {
- exceptionCaught = true;
- }
- Expect.equals(true, exceptionCaught);
+ bool exceptionCaught = false;
+ try {
+ foo();
+ } on StackOverflowError catch (e) {
+ exceptionCaught = true;
+ }
+ Expect.equals(true, exceptionCaught);
}

Powered by Google App Engine
This is Rietveld 408576698