Skip to content

Commit

Permalink
Test that Buf.list gives the list of codepoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinst committed Oct 5, 2012
1 parent a7483be commit 20918f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S32-str/encode.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 13;
plan 14;


# L<S32::Containers/Buf>
Expand Down Expand Up @@ -28,4 +28,6 @@ is Buf.new(246).decode('ISO-8859-1'), 'ö', 'decoding a Buf with Latin-1';
ok Buf ~~ Stringy, 'Buf does Stringy';
ok Buf ~~ Positional, 'Buf does Positional';

is 'abc'.encode('ascii').list.join(','), '97,98,99', 'Buf.list gives list of codepoints';

# vim: ft=perl6

0 comments on commit 20918f0

Please sign in to comment.