Skip to content

Commit

Permalink
[v6.d REVIEW] Fix ignorecase ligature test descriptions
Browse files Browse the repository at this point in the history
Orig: 946d2ff79
  • Loading branch information
zoffixznet committed Oct 7, 2018
1 parent 42801d9 commit ef369a4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions S05-modifier/ignorecase.t
Expand Up @@ -124,15 +124,15 @@ ok 'fi' ~~ /:i fi /, "ignorecase with ligature haystack matches";
ok 'fi' ~~ /:i/, "ignorecase with ligature needle matches";
my $fi = 'fi';
my $fi_d = '';
ok $fi ~~ /:i $fi_d /, "ignorecase with ligature haystack in variable matches";
ok 'fi' ~~ /:i $fi_d /, "ignorecase with ligature haystack in variable matches";
ok $fi ~~ /:i $fi_d /, "ignorecase with ligature needle in variable matches";
ok 'fi' ~~ /:i $fi_d /, "ignorecase with ligature needle in variable matches (literal haystack)";
#?rakudo.moar 2 todo "ignorecase doesn't use foldcase semantics when the haystack is interpolated RT132233"
#?rakudo.js 2 todo "ignorecase doesn't use foldcase semantics when the haystack is interpolated RT132233"
ok $fi_d ~~ /:i $fi /, "ignorecase with ligature needle in variable matches";
ok '' ~~ /:i $fi /, "ignorecase with ligature needle in variable matches";
ok $fi_d ~~ /:i fi /, "ignorecase with ligature needle in variable matches";
ok $fi_d ~~ /:i $fi /, "ignorecase with ligature haystack in variable matches";
ok '' ~~ /:i $fi /, "ignorecase with ligature literal haystack matches";
ok $fi_d ~~ /:i fi /, "ignorecase with ligature haystack in variable matches";

is '' ~~ /:i fi /, "", "ignorecase with ligature needle returns ligature match";
is '' ~~ /:i fi /, "", "ignorecase with ligature haystack returns ligature match";
#?rakudo.moar 1 todo "ignorecase returns too many graphemes for expanding foldcase graphemes. RT132232"
is '_fi_' ~~ /:i fi /, "", "ignorecase with ligature needle matches only ligature needle";
is '_fi_' ~~ /:i fi /, "", "ignorecase with ligature haystack matches only ligature needle";
# vim: syn=perl6 sw=4 ts=4 expandtab

0 comments on commit ef369a4

Please sign in to comment.