Skip Menu |

This queue is for tickets about the FormValidator-Simple-Plugin-Number-Phone-JP CPAN distribution.

Report information
The Basics
Id: 83635
Status: resolved
Priority: 0/
Queue: FormValidator-Simple-Plugin-Number-Phone-JP

People
Owner: Nobody in particular
Requestors: ytnobody [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.03
Fixed in: (no value)



Subject: Test failure in t/01_number_phone_jp.t line 27
t/01_number_phone_jp.t has error. Please look following. Show quoted text
--- QUOTE --- ~/.cpanm/work/1361866979.6866/FormValidator-Simple-Plugin-Number-Phone-JP-0.03$ prove -Ilib ./t/01_number_phone_jp.t ./t/01_number_phone_jp.t .. 1/26 # Failed test at ./t/01_number_phone_jp.t line 27. # Looks like you failed 1 test of 26. ./t/01_number_phone_jp.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/26 subtests Test Summary Report ------------------- ./t/01_number_phone_jp.t (Wstat: 256 Tests: 26 Failed: 1) Failed test: 19 Non-zero exit status: 1 Files=1, Tests=26, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.12 cusr 0.02 csys = 0.16 CPU) Result: FAIL
--- QUOTE END --- I've attach diff for fixes this error. Best regards. -- satoshi azuma <ytnobody@gmail.com>
Subject: diff.txt
--- ./t/01_number_phone_jp.t_origin 2013-02-26 17:23:27.463232328 +0900 +++ t/01_number_phone_jp.t 2013-02-26 17:24:05.771232628 +0900 @@ -6,7 +6,7 @@ FormValidator::Simple->import('Number::Phone::JP'); my $q = CGI->new; -my $line = 13; +my $line = 14; for (1..$line) { my $num = <DATA>; @@ -41,12 +41,12 @@ 060 33001234 0255 731234 096 3471234 +080 99912345 00299 12345678 009197 12345678 0800 9231234 0997 711234 050 99991234 -080 99912345 020 49812345 070 68912345 0570 998123
Hi, Thanks for sending me a patch and sorry for my late response. I applied your patch and uploaded to CPAN as version 0.04. Thanks. On Tue Feb 26 03:39:07 2013, YTURTLE wrote: Show quoted text
> t/01_number_phone_jp.t has error. > Please look following. > > --- QUOTE --- > > ~/.cpanm/work/1361866979.6866/FormValidator-Simple-Plugin-Number- > Phone-JP-0.03$ prove -Ilib ./t/01_number_phone_jp.t > ./t/01_number_phone_jp.t .. 1/26 > # Failed test at ./t/01_number_phone_jp.t line 27. > # Looks like you failed 1 test of 26. > ./t/01_number_phone_jp.t .. Dubious, test returned 1 (wstat 256, > 0x100) > Failed 1/26 subtests > > Test Summary Report > ------------------- > ./t/01_number_phone_jp.t (Wstat: 256 Tests: 26 Failed: 1) > Failed test: 19 > Non-zero exit status: 1 > Files=1, Tests=26, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.12 cusr > 0.02 csys = 0.16 CPU) > Result: FAIL > > --- QUOTE END --- > > I've attach diff for fixes this error. > Best regards.