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

Unified Diff: tests/language_strong/rewrite_nested_if2_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/rewrite_nested_if2_test.dart
diff --git a/tests/language_strong/rewrite_nested_if2_test.dart b/tests/language_strong/rewrite_nested_if2_test.dart
index 0cc11922641ff6cf2fffbb777b6effb56406bed9..2a71680e3ed60153211d98e029168a74d6451769 100644
--- a/tests/language_strong/rewrite_nested_if2_test.dart
+++ b/tests/language_strong/rewrite_nested_if2_test.dart
@@ -14,9 +14,7 @@ check_true_true(x, y) {
}
check_false_true(x, y) {
- if (x) {
-
- } else {
+ if (x) {} else {
if (y) {
return true;
}
@@ -26,9 +24,7 @@ check_false_true(x, y) {
check_true_false(x, y) {
if (x) {
- if (y) {
-
- } else {
+ if (y) {} else {
return true;
}
}
@@ -36,19 +32,14 @@ check_true_false(x, y) {
}
check_false_false(x, y) {
- if (x) {
-
- } else {
- if (y) {
-
- } else {
+ if (x) {} else {
+ if (y) {} else {
return true;
}
}
return false;
}
-
main() {
Expect.equals(true, check_true_true(true, true));
Expect.equals(false, check_true_true(true, false));

Powered by Google App Engine
This is Rietveld 408576698