| Index: tests/language/exception_test.dart
|
| ===================================================================
|
| --- tests/language/exception_test.dart (revision 7471)
|
| +++ tests/language/exception_test.dart (working copy)
|
| @@ -21,9 +21,11 @@
|
|
|
| bool correctCatch = false;
|
| try {
|
| + // This throws NullPointerException.
|
| throw null;
|
| } catch (String s) {
|
| - // null exception object is caught here.
|
| + correctCatch = false;
|
| + } catch (NullPointerException e) {
|
| correctCatch = true;
|
| } catch (var x) {
|
| correctCatch = false;
|
|
|