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

Unified Diff: tests/compiler/dart2js_extra/operator2_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/null_test.dart ('k') | tests/compiler/dart2js_extra/operator3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/operator2_test.dart
diff --git a/tests/compiler/dart2js_extra/operator2_test.dart b/tests/compiler/dart2js_extra/operator2_test.dart
index 34f2a60b232b1e3f0547cf0ccabe843862c7a83d..4adff2d0c937ee2e44d565bac76d8443eace2e2a 100644
--- a/tests/compiler/dart2js_extra/operator2_test.dart
+++ b/tests/compiler/dart2js_extra/operator2_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 addTest() {
var m1 = 0 - 1;
« no previous file with comments | « tests/compiler/dart2js_extra/null_test.dart ('k') | tests/compiler/dart2js_extra/operator3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698