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

Unified Diff: tests/compiler/dart2js/ssa_phi_codegen_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/space_test.dart ('k') | tests/compiler/dart2js/static_closure_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/ssa_phi_codegen_test.dart
diff --git a/tests/compiler/dart2js/ssa_phi_codegen_test.dart b/tests/compiler/dart2js/ssa_phi_codegen_test.dart
index 2189e4961332f96bb1305419c3efd207aa048623..57ee1b0acde7edbe913d98ac1c8b10d291bd3567 100644
--- a/tests/compiler/dart2js/ssa_phi_codegen_test.dart
+++ b/tests/compiler/dart2js/ssa_phi_codegen_test.dart
@@ -71,21 +71,21 @@ void main() {
main() {
asyncTest(() => Future.wait([
- compileAndMatchFuzzy(TEST_ONE, 'foo', "var x = x === true \\? 2 : 3;"),
- compileAndMatchFuzzy(TEST_ONE, 'foo', "print\\(x\\);"),
+ compileAndMatchFuzzy(TEST_ONE, 'foo', "var x = x === true \\? 2 : 3;"),
+ compileAndMatchFuzzy(TEST_ONE, 'foo', "print\\(x\\);"),
- compileAndMatchFuzzy(TEST_TWO, 'main', "x \\+= 10"),
- compileAndMatchFuzzy(TEST_TWO, 'main', "\\+\\+x"),
+ compileAndMatchFuzzy(TEST_TWO, 'main', "x \\+= 10"),
+ compileAndMatchFuzzy(TEST_TWO, 'main', "\\+\\+x"),
- // Check that we don't have 'd = d' (using regexp back references).
- compileAndDoNotMatchFuzzy(TEST_THREE, 'foo', '(x) = \1'),
- compileAndMatchFuzzy(TEST_THREE, 'foo', 'return x'),
- // Check that a store just after the declaration of the local
- // only generates one instruction.
- compileAndMatchFuzzy(TEST_THREE, 'foo', 'x = 42'),
+ // Check that we don't have 'd = d' (using regexp back references).
+ compileAndDoNotMatchFuzzy(TEST_THREE, 'foo', '(x) = \1'),
+ compileAndMatchFuzzy(TEST_THREE, 'foo', 'return x'),
+ // Check that a store just after the declaration of the local
+ // only generates one instruction.
+ compileAndMatchFuzzy(TEST_THREE, 'foo', 'x = 42'),
- compileAndDoNotMatchFuzzy(TEST_FOUR, 'foo', '(x) = \1;'),
+ compileAndDoNotMatchFuzzy(TEST_FOUR, 'foo', '(x) = \1;'),
- compileAndDoNotMatch(TEST_FIVE, 'main', new RegExp('hash0')),
- ]));
+ compileAndDoNotMatch(TEST_FIVE, 'main', new RegExp('hash0')),
+ ]));
}
« no previous file with comments | « tests/compiler/dart2js/space_test.dart ('k') | tests/compiler/dart2js/static_closure_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698