Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pugs fudge
  • Loading branch information
coke committed Jul 18, 2012
1 parent 76bb3e0 commit b75eed2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions S32-str/flip.t
Expand Up @@ -6,6 +6,7 @@ use Test;
plan 13;

# As a function :
#?pugs skip 'sub NYI'
is( flip('Pugs'), 'sguP', "as a function");

# As a method :
Expand All @@ -27,12 +28,14 @@ is( '䀻«'.flip, '«»€ä', "some unicode characters" );

#?niecza 2 todo 'graphemes not implemented'
#?rakudo 2 skip 'graphemes not implemented'
#?pugs 2 skip 'graphemes not implemented'
is( "a\c[COMBINING DIAERESIS]b".flip, '', "grapheme precomposed" );
is( "a\c[COMBINING DOT ABOVE, COMBINING DOT BELOW]b".flip,
"ba\c[COMBINING DOT ABOVE, COMBINING DOT BELOW]",
"grapheme without precomposed");

is 234.flip, '432', '.flip on non-string';
#?pugs skip 'sub NYI'
is flip(123), '321', 'flip() on non-strings';
{
my $x = 'abc';
Expand Down

0 comments on commit b75eed2

Please sign in to comment.