2008年8月アーカイブ

prove (Test-Harness-3.13)
ってUTF8が文字化けしねい?

1 mbp root # diff -rd lib/ /opt/local/lib/perl5/5.10.0/  | less | grep -v '^Only '

2 diff -rd lib/TAP/Formatter/Console.pm /opt/local/lib/perl5/5.10.0/TAP/Formatter/Console.pm

3 386a387,388

4 >     use Encode;

5 >     @_ = map { decode_utf8($_) } @_;

6 diff -rd lib/TAP/Parser/Iterator/Process.pm /opt/local/lib/perl5/5.10.0/TAP/Parser/Iterator/Process.pm

7 248a249

8 >                             $chunk = decode_utf8($chunk) if _get_unicode();

prove_utf8.diff.txt

GTDをprove+YAML+GraphVizでやってみるテスト