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

Unified Diff: tests/language_strong/rewrite_nested_if3_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_if3_test.dart
diff --git a/tests/language_strong/rewrite_nested_if3_test.dart b/tests/language_strong/rewrite_nested_if3_test.dart
index a9fd16f035726b176a00da483b081b3de8a47c70..b985df8025eee3bde0471b970610f55df179e975 100644
--- a/tests/language_strong/rewrite_nested_if3_test.dart
+++ b/tests/language_strong/rewrite_nested_if3_test.dart
@@ -17,9 +17,7 @@ check_true_true(x, y) {
}
check_false_true(x, y) {
- if (x) {
-
- } else {
+ if (x) {} else {
if (y) {
return true;
}
@@ -30,9 +28,7 @@ check_false_true(x, y) {
check_true_false(x, y) {
if (x) {
- if (y) {
-
- } else {
+ if (y) {} else {
return true;
}
}
@@ -41,12 +37,8 @@ check_true_false(x, y) {
}
check_false_false(x, y) {
- if (x) {
-
- } else {
- if (y) {
-
- } else {
+ if (x) {} else {
+ if (y) {} else {
return true;
}
}
@@ -54,7 +46,6 @@ check_false_false(x, y) {
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