| Index: tests/language_strong/bad_named_parameters_test.dart
|
| diff --git a/tests/language_strong/bad_named_parameters_test.dart b/tests/language_strong/bad_named_parameters_test.dart
|
| index 06510e0e42e67ecd3bb2fbbddb322dfc3e61cbea..c82524ad952d8957b479ec944f0c5fec6140a9a5 100644
|
| --- a/tests/language_strong/bad_named_parameters_test.dart
|
| +++ b/tests/language_strong/bad_named_parameters_test.dart
|
| @@ -24,43 +24,43 @@ class BadNamedParametersTest {
|
| try {
|
| caught = false;
|
| // Parameter b passed twice.
|
| - np.f42(10, 25, b:25); /// 01: static type warning
|
| + np.f42(10, 25, b:25); //# 01: static type warning
|
| } on NoSuchMethodError catch (e) {
|
| caught = true;
|
| }
|
| - Expect.equals(true, caught); /// 01: continued
|
| + Expect.equals(true, caught); //# 01: continued
|
| try {
|
| caught = false;
|
| // Parameter x does not exist.
|
| - np.f42(10, 25, x:99); /// 02: static type warning
|
| + np.f42(10, 25, x:99); //# 02: static type warning
|
| } on NoSuchMethodError catch (e) {
|
| caught = true;
|
| }
|
| - Expect.equals(true, caught); /// 02: continued
|
| + Expect.equals(true, caught); //# 02: continued
|
| try {
|
| caught = false;
|
| // Parameter b1 does not exist.
|
| - np.f52(10, b:25, b1:99, c:35); /// 03: static type warning
|
| + np.f52(10, b:25, b1:99, c:35); //# 03: static type warning
|
| } on NoSuchMethodError catch (e) {
|
| caught = true;
|
| }
|
| - Expect.equals(true, caught); /// 03: continued
|
| + Expect.equals(true, caught); //# 03: continued
|
| try {
|
| caught = false;
|
| // Too many parameters.
|
| - np.f42(10, 20, 30, 40); /// 04: static type warning
|
| + np.f42(10, 20, 30, 40); //# 04: static type warning
|
| } on NoSuchMethodError catch (e) {
|
| caught = true;
|
| }
|
| - Expect.equals(true, caught); /// 04: continued
|
| + Expect.equals(true, caught); //# 04: continued
|
| try {
|
| caught = false;
|
| // Too few parameters.
|
| - np.f42(b:25); /// 05: static type warning
|
| + np.f42(b:25); //# 05: static type warning
|
| } on NoSuchMethodError catch (e) {
|
| caught = true;
|
| }
|
| - Expect.equals(true, caught); /// 05: continued
|
| + Expect.equals(true, caught); //# 05: continued
|
| }
|
| }
|
|
|
|
|