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

Unified Diff: tests/language/ternary_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/ternary_test.dart
diff --git a/tests/language/ternary_test.dart b/tests/language/ternary_test.dart
index b20c188a43f36e876b66c4a07148cf9477e5081a..240034db5622b2751116f0a2dc17c7f4b25cd9fb 100644
--- a/tests/language/ternary_test.dart
+++ b/tests/language/ternary_test.dart
@@ -6,15 +6,27 @@
import "package:expect/expect.dart";
class TernaryTest {
- static true_cond() { return true; }
- static false_cond() { return false; }
- static foo() { return -4; }
- static moo() { return 5; }
+ static true_cond() {
+ return true;
+ }
+
+ static false_cond() {
+ return false;
+ }
+
+ static foo() {
+ return -4;
+ }
+
+ static moo() {
+ return 5;
+ }
+
static testMain() {
- Expect.equals(-4, (TernaryTest.true_cond() ? TernaryTest.foo()
- : TernaryTest.moo()));
- Expect.equals(5, (TernaryTest.false_cond() ? TernaryTest.foo()
- : TernaryTest.moo()));
+ Expect.equals(
+ -4, (TernaryTest.true_cond() ? TernaryTest.foo() : TernaryTest.moo()));
+ Expect.equals(
+ 5, (TernaryTest.false_cond() ? TernaryTest.foo() : TernaryTest.moo()));
}
}

Powered by Google App Engine
This is Rietveld 408576698