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

Unified Diff: tests/compiler/dart2js_extra/constant_javascript_semantics3_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/constant_javascript_semantics3_test.dart
diff --git a/tests/compiler/dart2js_extra/constant_javascript_semantics3_test.dart b/tests/compiler/dart2js_extra/constant_javascript_semantics3_test.dart
index 4fd4128d9bd041a736025453168d78b4709a13bb..2cdf6b032a179b1a8f7c16945e9b1db0a3c2b334 100644
--- a/tests/compiler/dart2js_extra/constant_javascript_semantics3_test.dart
+++ b/tests/compiler/dart2js_extra/constant_javascript_semantics3_test.dart
@@ -29,11 +29,10 @@ foo() {
i--;
i--;
i--;
- i -= 8007199254740992; // In JS semantics [i] would be -3, now.
+ i -= 8007199254740992; // In JS semantics [i] would be -3, now.
return a[i];
}
main() {
- Expect.throws(() => foo(),
- (e) => e is RangeError);
+ Expect.throws(() => foo(), (e) => e is RangeError);
}

Powered by Google App Engine
This is Rietveld 408576698