[parrot/parrot] 94edbd: Fix a UTF16 IO test in the same way. The test was ...

GitHub noreply at github.com
Sat Jun 16 15:48:04 UTC 2012


  Branch: refs/heads/whiteknight/io_cleanup1
  Home:   https://github.com/parrot/parrot
  Commit: 94edbda13aa3f440cce4a92bbd44ea54529b03ec
      https://github.com/parrot/parrot/commit/94edbda13aa3f440cce4a92bbd44ea54529b03ec
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-16 (Sat, 16 Jun 2012)

  Changed paths:
    M t/pmc/io.t

  Log Message:
  -----------
  Fix a UTF16 IO test in the same way. The test was doing .read(9) and expecting to only get back 5 characters. The expectation, I think, is that the 9 is a number of bytes and the internal read routines will automatically round up to get the next full multi-byte character. This is nonsensical. In the new system, when you ask for 9 characters, you get 9 characters with no magic.





More information about the parrot-commits mailing list