Index: tests/html/js_typed_interop_type1_test.dart |
diff --git a/tests/html/js_typed_interop_type1_test.dart b/tests/html/js_typed_interop_type1_test.dart |
index e85c1590a83c1cabccd15b9159ca3f77814a6c35..bbb6ec5564af853334a3c5825faf7d03ce1f82ff 100644 |
--- a/tests/html/js_typed_interop_type1_test.dart |
+++ b/tests/html/js_typed_interop_type1_test.dart |
@@ -38,7 +38,8 @@ function A(foo) { |
void expectValueOrTypeError(f(), value) { |
try { |
- String i = 0; // Test for checked mode. |
+ var i = 0; |
+ String s = i; // Test for checked mode. |
Expect.equals(f(), value); |
} on TypeError catch (error) { |
Expect.throws(f, (ex) => ex is TypeError); |