Skip to content

Commit cce58c2

Browse files
committed
Make test for output of backtrace less specific
After the recent changes to backtrace handling this test started to fail on rakudo-j. There are references to lines in gen/jvm/CORE.setting which are causing the test to fail because of the 's' in 'setting'. Allowing additional lines in the backtrace still fits the test description 'Thrown Failure outputs dual backtraces'.
1 parent 4d2ab2c commit cce58c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/error-reporting.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ ok $b1 === $b2, "Backtrace does not change on additional .backtrace";
168168
}
169169

170170
is_run 'sub s1 { sub s2 { fail("foo"); }; s2()(); }; s1();', {
171-
err => rx/sub\ss2.*sub\ss1.*thrown<-[s]>+sub\ss1/
171+
err => rx/sub\ss2.*sub\ss1.*thrown.*sub\ss1/
172172
}, "Thrown Failure outputs dual backtraces";
173173

174174
# see http://irclog.perlgeek.de/perl6/2015-07-24#i_10947364 and commit c683fe9

0 commit comments

Comments
 (0)