We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e9f1ef commit 16f1074Copy full SHA for 16f1074
integration/error-reporting.t
@@ -1,7 +1,7 @@
1
use v6;
2
use Test;
3
4
-plan 11;
+plan 12;
5
6
BEGIN { @*INC.push('t/spec/packages') };
7
@@ -99,4 +99,13 @@ is_run 'sub mysub {
99
out => '',
100
}, 'warning reports correct line number and subroutine';
101
102
+# RT #77736
103
+is_run 'die "foo"; END { say "end run" }',
104
+ {
105
+ status => * != 0,
106
+ err => rx/foo/,
107
+ out => "end run\n",
108
+ },
109
+ 'END phasers are run after die()';
110
+
111
# vim: ft=perl6
0 commit comments