| 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()));
|
| }
|
| }
|
|
|
|
|