Skip to content

Instantly share code, notes, and snippets.

@masak
Created May 28, 2010 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masak/417142 to your computer and use it in GitHub Desktop.
Save masak/417142 to your computer and use it in GitHub Desktop.
1..10
ok 1 - $str.encode returns a Buf
ok 2 - encoding to ASCII
ok 3 - right length of Buf
ok 4 - # SKIP Parrot breaks on this
ok 5 - right length of Buf
ok 6 - # SKIP Parrot breaks when fed non-ASCII
ok 7 - .decode returns a Str
not ok 8 - decoding a Buf with UTF-8# TODO real .decode
# got: "ö"
# expected: "ö"
ok 9 - decoding a Buf with Latin-1# TODO real .decode
ok 10 - # SKIP Stringy
# FUDGED!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment