Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the String-Diff CPAN distribution.

Report information
The Basics
Id: 76371
Status: resolved
Priority: 0/
Queue: String-Diff

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: (no value)



Subject: utf8/regexp (?) related failure with bleadperl
With bleadperl (based on perl 5.15.9) two tests fail: t/05_diff_regexp-pp.t .. 1/? t/05_diff_regexp-pp.t .. 5/? # Failed test at t/05_diff_regexp-pp.t line 21. Wide character in print at /var/tmp/CPAN-build/String-Diff-0.04-3Ii9Gi/inc/Test/Builder.pm line 1274, <DATA> line 1. # got: '(?:ã|ã ã¤ãã )ã(?:æ´ããæ¥ã«æ£æ­©ãããã¨|人ãã ãªã ã®ã§)ãã(?:ãã«|ã)ã¯' # expected: '(?:ã|ã ã¤ãã )ã(?:æ´ããæ¥ã«æ£æ­©ãããã¨|人ãã ãªã ã®ã§)\ãã(?:ãã«|ã)ã¯' # Looks like you failed 1 test of 10. t/05_diff_regexp-pp.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/10 subtests t/05_diff_regexp.t ..... 1/? # Failed test at t/05_diff_regexp.t line 20. Wide character in print at /var/tmp/CPAN-build/String-Diff-0.04-3Ii9Gi/inc/Test/Builder.pm line 1274, <DATA> line 1. # got: '(?:ã|ã ã¤ãã )ã(?:æ´ããæ¥ã«æ£æ­©ãããã¨|人ãã ãªã ã®ã§)ãã(?:ãã«|ã)ã¯' # expected: '(?:ã|ã ã¤ãã )ã(?:æ´ããæ¥ã«æ£æ­©ãããã¨|人ãã ãªã ã®ã§)\ãã(?:ãã«|ã)ã¯' # Looks like you failed 1 test of 10. t/05_diff_regexp.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/10 subtests Test Summary Report ------------------- t/05_diff_regexp-pp.t (Wstat: 256 Tests: 10 Failed: 1) Failed test: 4 Non-zero exit status: 1 t/05_diff_regexp.t (Wstat: 256 Tests: 10 Failed: 1) Failed test: 4 Non-zero exit status: 1 Files=12, Tests=132, 9 wallclock secs ( 0.07 usr 0.04 sys + 1.95 cusr 0.18 csys = 2.24 CPU) Result: FAIL Failed 2/12 test programs. 2/132 subtests failed. (Note that I had to remove inc/YAML.pm before I could run the tests at all, see the other RT ticket). Regards, Slaven
RT-Send-CC: public [...] khwilliamson.com
The bleadperl commit that changes the outcome of the test was v5.15.7-414-g2e2b257 by Karl Williamson (CC'd). The character that is now being quoted is the IDEOGRAPHIC COMMA (U+3001). Karl, would you mind to look at the test and confirm that the new quoting is indeed intended in this test? Please note that if you try to run this test you will probably also encounter bug #71678. Quickest workaround for this other bug is to 'rm inc/YAML.pm' before calling 'perl Makefile.PL'. Thank you!
Yes, Unicode thinks it should be quoted, so we have changed to conform.
This occurs with the stable 5.16.0 too.
thanks to your reports. I fixed to this bug On 0.06.