Skip to content

Commit 84d0abc

Browse files
committed
capture current wrong upward propagate_badflag - #517
1 parent 3781e8d commit 84d0abc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/bad.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ is_pdl $s[2], pdl(66.5), "setbadif/stats test 3";
184184
is_pdl $s[3], pdl(22), "setbadif/stats test 4";
185185
is_pdl $s[4], pdl(98), "setbadif/stats test 5";
186186
is_pdl $s[6], pdl(26.7312), abstol("setbadif/stats test 6");
187+
ok $x->badflag, 'badflag wrongly set on input after setbadif';
187188

188189
# how about setbadtoval
189190
empty()->setbadtoval(20); # shouldn't segfault

0 commit comments

Comments
 (0)