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

Unified Diff: tests/compiler/dart2js_native/event_loop_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_native/event_loop_test.dart
diff --git a/tests/compiler/dart2js_native/event_loop_test.dart b/tests/compiler/dart2js_native/event_loop_test.dart
index d7ae5f49345bb8b23a8db4523bdcaabc11e07cce..18d206891d52046850005d1b435acfeca6816ff9 100644
--- a/tests/compiler/dart2js_native/event_loop_test.dart
+++ b/tests/compiler/dart2js_native/event_loop_test.dart
@@ -11,10 +11,10 @@ typedef void Callback0();
@Native("A")
class A {
- foo(Callback0 f) native;
+ foo(Callback0 f) native ;
}
-makeA() native;
+makeA() native ;
void setup() native r"""
function A() {}
@@ -36,8 +36,9 @@ main() {
var events = [];
asyncStart();
var a = makeA();
- new Future.microtask(() { events.add("scheduleMicrotask"); })
- .whenComplete(asyncEnd);
+ new Future.microtask(() {
+ events.add("scheduleMicrotask");
+ }).whenComplete(asyncEnd);
Expect.equals(499, a.foo(() {
events.add("closure to foo");
« no previous file with comments | « tests/compiler/dart2js_native/error_safeToString_test.dart ('k') | tests/compiler/dart2js_native/fake_thing_2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698