Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tests for RT #127530.
  • Loading branch information
jnthn committed Mar 9, 2016
1 parent 23c1c1b commit a868517
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S15-nfg/concatenation.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 8;
plan 11;

my $a = "\x0044";
my $b = "\x0307";
Expand All @@ -24,3 +24,8 @@ my $c = "\x0323";
is ($a, $a, $a).join($b).chars, 3, 'join respects NFG (1)';
is ($a, $a, $a).join($c).chars, 3, 'join respects NFG (2)';
is ($a, $a, $a).join($b ~ $c).chars, 3, 'join respects NFG (3)';

# RT #127530 (normalization on concat SEGV bug)
is "\xfacf" ~ "\n", "\xfacf\n", '\xfacf ~ \n is ok';
is "\xfad0" ~ "\n", "\xfad0\n", '\xfad0 ~ \n is ok';
is "\xfad7" ~ "\n", "\xfad7\n", '\xfad7 ~ \n is ok';

0 comments on commit a868517

Please sign in to comment.