Index: tests/lib_strong/html/window_nosuchmethod_test.dart |
diff --git a/tests/lib_strong/html/window_nosuchmethod_test.dart b/tests/lib_strong/html/window_nosuchmethod_test.dart |
index 4cc84b4f49f8ca2c4bb9e0df21307ddef166c6f8..5e3556f80f447a97c15707023c6467931018d09d 100644 |
--- a/tests/lib_strong/html/window_nosuchmethod_test.dart |
+++ b/tests/lib_strong/html/window_nosuchmethod_test.dart |
@@ -19,21 +19,20 @@ main() { |
var things = <dynamic>[new Unused(), dom.window]; |
test('windowNonMethod', () { |
- var win = things[inscrutable(1)]; |
- final message = foo("Hello World"); |
- expect(() => win.foo(message), throwsNoSuchMethodError); |
- }); |
+ var win = things[inscrutable(1)]; |
+ final message = foo("Hello World"); |
+ expect(() => win.foo(message), throwsNoSuchMethodError); |
+ }); |
test('foo', () { |
- var win = things[inscrutable(0)]; |
- String x = win.foo('bar'); |
- expect(x, 'not bar'); |
- }); |
+ var win = things[inscrutable(0)]; |
+ String x = win.foo('bar'); |
+ expect(x, 'not bar'); |
+ }); |
// Use dom.window directly in case the compiler does type inference. |
test('windowNonMethod2', () { |
- final message = foo("Hello World"); |
- expect(() => (dom.window as dynamic).foo(message), |
- throwsNoSuchMethodError); |
- }); |
+ final message = foo("Hello World"); |
+ expect(() => (dom.window as dynamic).foo(message), throwsNoSuchMethodError); |
+ }); |
} |