| Index: tests/language_2/call_test.dart
|
| diff --git a/tests/language/call_test.dart b/tests/language_2/call_test.dart
|
| similarity index 83%
|
| rename from tests/language/call_test.dart
|
| rename to tests/language_2/call_test.dart
|
| index 629f7d537ca82ae751b8974d0e9ea74e5b0e165e..882eeb4d249f0eae170d6fb1984bdbe11025b6f5 100644
|
| --- a/tests/language/call_test.dart
|
| +++ b/tests/language_2/call_test.dart
|
| @@ -37,7 +37,7 @@ main() {
|
| Expect.equals("4455", named_arg.call(x: 44, y: 55));
|
| }
|
|
|
| - Expect.throws(() => bar.call(), (e) => e is NoSuchMethodError);
|
| - Expect.throws(() => opt_arg.call(x: "p"), (e) => e is NoSuchMethodError);
|
| - Expect.throws(() => named_arg.call("p", "q"), (e) => e is NoSuchMethodError);
|
| + Expect.throwsNoSuchMethodError(() => (bar as dynamic).call());
|
| + Expect.throwsNoSuchMethodError(() => (opt_arg as dynamic).call(x: "p"));
|
| + Expect.throwsNoSuchMethodError(() => (named_arg as dynamic).call("p", "q"));
|
| }
|
|
|