| Index: tests/language/named_parameters_with_conversions_test.dart
|
| diff --git a/tests/language/named_parameters_with_conversions_test.dart b/tests/language/named_parameters_with_conversions_test.dart
|
| index 213b8dad95c7170f3f2160fb89f3fae451942337..96804c257cbffbffc9696aff29a9f6032f34cd6c 100644
|
| --- a/tests/language/named_parameters_with_conversions_test.dart
|
| +++ b/tests/language/named_parameters_with_conversions_test.dart
|
| @@ -98,9 +98,9 @@ class NamedParametersWithConversionsTest {
|
|
|
| Expect.equals(7, a.calls);
|
|
|
| - checkException(() => a.foo()); // Too few arguments.
|
| - checkException(() => a.foo('abc', 1, 2, 3)); // Too many arguments.
|
| - checkException(() => a.foo2('c', c: 1)); // Bad name.
|
| + checkException(() => a.foo()); // Too few arguments.
|
| + checkException(() => a.foo('abc', 1, 2, 3)); // Too many arguments.
|
| + checkException(() => a.foo2('c', c: 1)); // Bad name.
|
| checkException(() => a.foo2('c', a:111, c: 1)); // Bad name.
|
|
|
| Expect.equals(7, a.calls);
|
| @@ -119,9 +119,9 @@ class NamedParametersWithConversionsTest {
|
|
|
| Expect.equals(7, a.calls);
|
|
|
| - checkException(() => f()); // Too few arguments.
|
| - checkException(() => f('abc', 1, 2, 3)); // Too many arguments.
|
| - checkException(() => f2('c', c: 1)); // Bad name.
|
| + checkException(() => f()); // Too few arguments.
|
| + checkException(() => f('abc', 1, 2, 3)); // Too many arguments.
|
| + checkException(() => f2('c', c: 1)); // Bad name.
|
| checkException(() => f2('c', a: 111, c: 1)); // Bad name.
|
|
|
| Expect.equals(7, a.calls);
|
|
|