| Index: tests/language_strong/named_parameters_with_conversions_test.dart
|
| diff --git a/tests/language_strong/named_parameters_with_conversions_test.dart b/tests/language_strong/named_parameters_with_conversions_test.dart
|
| index cf62331f8111c4fd41b0bca9c589631268c72d27..14849e64d04ae6c3a41960ffd7fdb8c1be498c41 100644
|
| --- a/tests/language_strong/named_parameters_with_conversions_test.dart
|
| +++ b/tests/language_strong/named_parameters_with_conversions_test.dart
|
| @@ -8,7 +8,6 @@
|
|
|
| import "package:expect/expect.dart";
|
|
|
| -
|
| Validate(tag, a, b) {
|
| // tag encodes which parameters are passed in with values a: 111, b: 222.
|
| if (tag == 'ab') {
|
| @@ -30,7 +29,6 @@ Validate(tag, a, b) {
|
| }
|
|
|
| class HasMethod {
|
| -
|
| int calls;
|
|
|
| HasMethod() : calls = 0 {}
|
| @@ -47,7 +45,6 @@ class HasMethod {
|
| }
|
|
|
| class HasField {
|
| -
|
| int calls;
|
| var foo, foo2;
|
|
|
| @@ -74,9 +71,7 @@ class HasField {
|
| }
|
| }
|
|
|
| -
|
| class NamedParametersWithConversionsTest {
|
| -
|
| static checkException(thunk) {
|
| bool threw = false;
|
| try {
|
| @@ -101,7 +96,7 @@ class NamedParametersWithConversionsTest {
|
| 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.
|
| + checkException(() => a.foo2('c', a: 111, c: 1)); // Bad name.
|
|
|
| Expect.equals(7, a.calls);
|
| }
|
|
|