Skip to content

Commit

Permalink
Oops, add plan to the subtest
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDaniel committed Feb 4, 2018
1 parent 06c4fc5 commit 8d03e9a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions S15-unicode-information/uniprop.t
Expand Up @@ -345,10 +345,11 @@ is-deeply 0x00AB.uniprop, "Pi", "General Category 'Pi'";
is-deeply 0x00B6.uniprop, "Po", "General Category 'Po'";

# GH#1247
subtest {
for ^5 { # ≈35% fail rate if broken
is_run('#򫳞', { status => 0 },
'reserved characters in source code do not cause segfaults');
subtest 'reserved characters in source code do not cause segfaults', {
my $antiflap = 5; # 5 – ≈35% fail rate if broken
plan $antiflap;
for ^$antiflap {
is_run('#򫳞', { status => 0 }, 'no segfault');
}
}

Expand Down

0 comments on commit 8d03e9a

Please sign in to comment.