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

Unified Diff: tests/compiler/dart2js_extra/constant_javascript_semantics2_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_semantics2_test.dart
diff --git a/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart b/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart
index 13f0a9340d8f5269518f4bcfb6c74e61c0f741d7..6ca66936d5dffa1d55f35314394216814335720b 100644
--- a/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart
+++ b/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart
@@ -16,12 +16,11 @@ foo() {
if (inscrutable(i) == 0) {
i = 0x100000001;
}
- i = 0xFFFFFFFFF & i; // In JS semantics [:i:] will be truncated to 32 bits.
+ i = 0xFFFFFFFFF & i; // In JS semantics [:i:] will be truncated to 32 bits.
i = 0x100000001 - i;
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