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

Unified Diff: tests/compiler/dart2js_extra/deferred_fail_and_retry_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/deferred_fail_and_retry_test.dart
diff --git a/tests/compiler/dart2js_extra/deferred_fail_and_retry_test.dart b/tests/compiler/dart2js_extra/deferred_fail_and_retry_test.dart
index 95b2771c8be5e6d8a287d326c1759f1c0d0bc3c8..5dc34c54137e4f99d032657e4c441f264a0f6005 100644
--- a/tests/compiler/dart2js_extra/deferred_fail_and_retry_test.dart
+++ b/tests/compiler/dart2js_extra/deferred_fail_and_retry_test.dart
@@ -12,7 +12,8 @@ import "dart:js" as js;
main() {
// We patch document.body.appendChild to change the script src on first
// invocation.
- js.context.callMethod("eval", ["""
+ js.context.callMethod("eval", [
+ """
if (self.document) {
oldAppendChild = document.body.appendChild;
document.body.appendChild = function(element) {
@@ -28,7 +29,8 @@ main() {
load("non_existing.js");
}
}
- """]);
+ """
+ ]);
asyncStart();
lib.loadLibrary().then((_) {
@@ -42,4 +44,4 @@ main() {
asyncEnd();
});
});
-}
+}

Powered by Google App Engine
This is Rietveld 408576698