Index: tests/html/js_typed_interop_type2_test.dart |
diff --git a/tests/html/js_typed_interop_type2_test.dart b/tests/html/js_typed_interop_type2_test.dart |
index 09350f1675c6d8079bb9e27c6c8ae45bcabe7321..6b3dbed3a4f999d0ed8689b3ead92f5ca85c6fdd 100644 |
--- a/tests/html/js_typed_interop_type2_test.dart |
+++ b/tests/html/js_typed_interop_type2_test.dart |
@@ -25,11 +25,6 @@ class F { |
} |
@NoInline() |
-testA(A o) { |
- return o.foo; |
-} |
- |
-@NoInline() |
testC(C o) { |
return o.foo; |
} |
@@ -41,8 +36,8 @@ testF(F o) { |
void expectValueOrTypeError(f(), value) { |
try { |
- String i = 0; // Test for checked mode. |
- Expect.equals(f(), value); |
+ var i = 0; |
+ String s = i; // Test for checked mode. |
} on TypeError catch (error) { |
Expect.throws(f, (ex) => ex is TypeError); |
} |