Index: tests/language/arithmetic2_test.dart |
diff --git a/tests/language/arithmetic2_test.dart b/tests/language/arithmetic2_test.dart |
index b0715e069c6258c105c926b703351eb5402fcc04..64fc0c921bac2b1dfc462813dcd21f0b3fc511a8 100644 |
--- a/tests/language/arithmetic2_test.dart |
+++ b/tests/language/arithmetic2_test.dart |
@@ -26,6 +26,8 @@ bool throwsBecauseOfBadArgument(f) { |
return true; |
} on ArgumentError catch (e) { |
return true; |
+ } on NullPointerException catch (e) { |
+ return true; |
} on TypeError catch (e) { |
// In type checked mode. |
return true; |