shogo82148 / Redis-Fast

fast perl binding for Redis database
https://metacpan.org/release/Redis-Fast
Other
25 stars 21 forks source link

Encode.pm@2.60 でテストがコケる #7

Closed shogo82148 closed 10 years ago

shogo82148 commented 10 years ago

macopy Redis::Fast Encode.pmを最新にするとt/01-basic.tと言うテストがコケるっぽいです decode_utf8しているやつを外すと直る macopy Encode.pm@2.60でのサマリーでございます。外しても2.44_01ではコケなかったこともご報告させていただきます

t/01-basic.t ............. 1/? Cannot decode string with wide characters at /Users/taniwaki-makoto/.plenv/versions/5.16.3/lib/perl5/site_perl/5.16.3/darwin-2level/Encode.pm line 215.
# Tests were run but no plan was declared and done_testing() was not seen.
t/01-basic.t ............. Dubious, test returned 36 (wstat 9216, 0x2400)
All 13 subtests passed
以下略
shogo82148 commented 10 years ago

いつの間にか本家から encoding/decoding機能が消えていたのが原因でした。 https://github.com/PerlRedis/perl-redis/commit/9d782a1255054308a51dbd21dc2a70c9d8b1c035

テストは本家とよしなにマージしたけど、Redis::Fast本体の更新を忘れた。

shogo82148 commented 10 years ago

0.08 で修正しました