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

Unified Diff: tests/compiler/dart2js_extra/operator3_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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
« no previous file with comments | « tests/compiler/dart2js_extra/operator2_test.dart ('k') | tests/compiler/dart2js_extra/operator_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/operator3_test.dart
diff --git a/tests/compiler/dart2js_extra/operator3_test.dart b/tests/compiler/dart2js_extra/operator3_test.dart
index 5ad4460318e0e371578f4235ecad888025c8464e..04ceec82bf2ee1636677b2f0ac53ef907d1868df 100644
--- a/tests/compiler/dart2js_extra/operator3_test.dart
+++ b/tests/compiler/dart2js_extra/operator3_test.dart
@@ -4,17 +4,49 @@
import "package:expect/expect.dart";
-int zero() { return 0; }
-int one() { return 1; }
-int minus1() { return 0 - 1; }
-int two() { return 2; }
-int three() { return 3; }
-int five() { return 5; }
-int minus5() { return 0 - 5; }
-int ninetyNine() { return 99; }
-int four99() { return 499; }
-int four99times99() { return 499 * 99; }
-int four99times99plus1() { return 499 * 99 + 1; }
+int zero() {
+ return 0;
+}
+
+int one() {
+ return 1;
+}
+
+int minus1() {
+ return 0 - 1;
+}
+
+int two() {
+ return 2;
+}
+
+int three() {
+ return 3;
+}
+
+int five() {
+ return 5;
+}
+
+int minus5() {
+ return 0 - 5;
+}
+
+int ninetyNine() {
+ return 99;
+}
+
+int four99() {
+ return 499;
+}
+
+int four99times99() {
+ return 499 * 99;
+}
+
+int four99times99plus1() {
+ return 499 * 99 + 1;
+}
void postPlusPlusTest() {
var x = zero();
« no previous file with comments | « tests/compiler/dart2js_extra/operator2_test.dart ('k') | tests/compiler/dart2js_extra/operator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698