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

Unified Diff: tests/language/ackermann_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/ackermann_test.dart
diff --git a/tests/language/ackermann_test.dart b/tests/language/ackermann_test.dart
index 69fab1b0eaf08570474a060e055c37e99b622179..87cadeb88a1a69e3ec4c53e4cdc8f4e0c8b92943 100644
--- a/tests/language/ackermann_test.dart
+++ b/tests/language/ackermann_test.dart
@@ -7,9 +7,9 @@ import "package:expect/expect.dart";
class AckermannTest {
static ack(m, n) {
- return m == 0 ?
- n + 1 : ((n == 0) ?
- ack(m - 1, 1) : ack(m - 1, ack(m, n - 1)));
+ return m == 0
+ ? n + 1
+ : ((n == 0) ? ack(m - 1, 1) : ack(m - 1, ack(m, n - 1)));
}
static testMain() {

Powered by Google App Engine
This is Rietveld 408576698