| Index: tests/language/naming_test.dart
|
| diff --git a/tests/language/naming_test.dart b/tests/language/naming_test.dart
|
| index 053389927355f821f5cd01937348eb82d237290c..6198f1d6b078e46289f967dfcc5f893a90aaf931 100644
|
| --- a/tests/language/naming_test.dart
|
| +++ b/tests/language/naming_test.dart
|
| @@ -501,9 +501,7 @@ class Naming2Test {
|
| () => a.foo(2),
|
| // We check for both exceptions because the exact exception to
|
| // throw is hard to compute on some browsers.
|
| - // Also, ObjectNotClosureException should probably implement
|
| - // NoSuchMethodError.
|
| - (e) => e is ObjectNotClosureException || e is NoSuchMethodError);
|
| + (e) => e is NoSuchMethodError);
|
| }
|
| }
|
|
|
|
|