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

Unified Diff: tests/compiler/dart2js_extra/bailout_on_break_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_extra/bailout_on_break_test.dart
diff --git a/tests/compiler/dart2js_extra/bailout_on_break_test.dart b/tests/compiler/dart2js_extra/bailout_on_break_test.dart
index ff09790f4ca459e260ee996535d29758907479ac..c545d95ed9d3dc5b9e1f260d4398dfdbe04feb4d 100644
--- a/tests/compiler/dart2js_extra/bailout_on_break_test.dart
+++ b/tests/compiler/dart2js_extra/bailout_on_break_test.dart
@@ -5,7 +5,7 @@
import "package:expect/expect.dart";
class A {
- operator+(arg) => 42;
+ operator +(arg) => 42;
}
get42() => 42;
@@ -42,7 +42,8 @@ void testInNestedWhileLoop() {
void testInNestedWhileLoop2() {
var c = get42();
- L0: while (true) {
+ L0:
+ while (true) {
while (true) {
var e = getNonInt();
Expect.equals(42, e + 2);
@@ -99,7 +100,8 @@ void testInForLoop() {
void testLabeledIf() {
var c = get42();
- L1: if (c == 42) {
+ L1:
+ if (c == 42) {
var e = getNonInt();
Expect.equals(42, e + 2);
if (e == null) break L1;
@@ -113,7 +115,8 @@ void testLabeledIf() {
void testLabeledIf2() {
var c = get42();
- L1: if (c == 42) {
+ L1:
+ if (c == 42) {
var e = getNonInt();
Expect.equals(42, e + 2);
if (e == null) break L1;
« no previous file with comments | « tests/compiler/dart2js_extra/bailout_aborting_if_test.dart ('k') | tests/compiler/dart2js_extra/bailout_on_continue_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698