Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test or index() with non-ASCII chars, #73122
  • Loading branch information
moritz committed Oct 1, 2011
1 parent 24f09e8 commit 44ff863
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-str/index.t
Expand Up @@ -3,7 +3,7 @@ use Test;

# L<S32::Str/Str/"=item index">

plan 37;
plan 38;

# Type of return value
#?rakudo 2 skip 'StrPos not implemented'
Expand Down Expand Up @@ -87,4 +87,7 @@ ok 1234.index(3) == 2, '.index on non-strings (here: Int)';
is $s.substr($s.index(0)), '023', 'Str.index(0) works';
}

# RT #73122
is index("uuúuúuùù", "úuù"), 4, 'index works for non-ascii';

# vim: ft=perl6

0 comments on commit 44ff863

Please sign in to comment.