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"); |