| Index: tests/language/savannah_test.dart
|
| diff --git a/tests/language/savannah_test.dart b/tests/language/savannah_test.dart
|
| index b55926e5860881a1df5be9fb5a4fe4dcd07488d7..8552243ab6136c69c889cbd0e60e4b6c344befff 100644
|
| --- a/tests/language/savannah_test.dart
|
| +++ b/tests/language/savannah_test.dart
|
| @@ -56,7 +56,7 @@ class SavannahTest {
|
| try {
|
| savannah[zebra1] = zebra1.name;
|
| savannah[zebra2] = zebra2.name;
|
| - } on NoSuchMethodException catch (e) {
|
| + } on NoSuchMethodError catch (e) {
|
| print("Caught: $e");
|
| caught = true;
|
| }
|
| @@ -70,7 +70,7 @@ class SavannahTest {
|
| try {
|
| print("zebra1: ${savannah[zebra1]}");
|
| print("zebra2: ${savannah[zebra2]}");
|
| - } on NoSuchMethodException catch (e) {
|
| + } on NoSuchMethodError catch (e) {
|
| print("Caught: $e");
|
| caught = true;
|
| }
|
|
|