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

Unified Diff: tests/compiler/dart2js/arithmetic_simplification_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
Index: tests/compiler/dart2js/arithmetic_simplification_test.dart
diff --git a/tests/compiler/dart2js/arithmetic_simplification_test.dart b/tests/compiler/dart2js/arithmetic_simplification_test.dart
index a0a0efa9f930f7dd01280f5e142170841cebf75e..09b1e32d8f2032407de5089f252f54fac5040690 100644
--- a/tests/compiler/dart2js/arithmetic_simplification_test.dart
+++ b/tests/compiler/dart2js/arithmetic_simplification_test.dart
@@ -41,7 +41,6 @@ void main() {
}
""";
-
const String INT_TIMES_ONE = """
int foo(x) => x;
void main() {
@@ -81,13 +80,13 @@ main() {
var oneTimes = new RegExp(r"1 \*");
asyncTest(() => Future.wait([
- compileAndDoNotMatch(INT_PLUS_ZERO, 'main', plusZero),
- compileAndDoNotMatch(ZERO_PLUS_INT, 'main', zeroPlus),
- compileAndMatch(NUM_PLUS_ZERO, 'main', plusZero),
- compileAndMatch(ZERO_PLUS_NUM, 'main', zeroPlus),
- compileAndDoNotMatch(INT_TIMES_ONE, 'main', timesOne),
- compileAndDoNotMatch(ONE_TIMES_INT, 'main', oneTimes),
- compileAndDoNotMatch(NUM_TIMES_ONE, 'main', timesOne),
- compileAndDoNotMatch(ONE_TIMES_NUM, 'main', oneTimes),
- ]));
+ compileAndDoNotMatch(INT_PLUS_ZERO, 'main', plusZero),
+ compileAndDoNotMatch(ZERO_PLUS_INT, 'main', zeroPlus),
+ compileAndMatch(NUM_PLUS_ZERO, 'main', plusZero),
+ compileAndMatch(ZERO_PLUS_NUM, 'main', zeroPlus),
+ compileAndDoNotMatch(INT_TIMES_ONE, 'main', timesOne),
+ compileAndDoNotMatch(ONE_TIMES_INT, 'main', oneTimes),
+ compileAndDoNotMatch(NUM_TIMES_ONE, 'main', timesOne),
+ compileAndDoNotMatch(ONE_TIMES_NUM, 'main', oneTimes),
+ ]));
}
« no previous file with comments | « tests/compiler/dart2js/analyze_unused_dart2js_test.dart ('k') | tests/compiler/dart2js/array_static_intercept_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698