Index: tests/language/exception_test.dart |
diff --git a/tests/language/exception_test.dart b/tests/language/exception_test.dart |
index 0876c5c2327950090f6f9e7625c76fdf0a0d7331..c08a872556ce0cb481595844442db42588df4119 100644 |
--- a/tests/language/exception_test.dart |
+++ b/tests/language/exception_test.dart |
@@ -21,11 +21,11 @@ class ExceptionTest { |
bool correctCatch = false; |
try { |
- // This throws NullThrownError |
+ // This throws NullPointerException. |
throw null; |
} on String catch (s) { |
correctCatch = false; |
- } on NullThrownError catch (e) { |
+ } on NullPointerException catch (e) { |
correctCatch = true; |
} catch (x) { |
correctCatch = false; |