line/line-bot-sdk-perl

Could not find sub 'StrLength' exported by Types::Common::String

Closed this issue · 0 comments

On some of my smokers t/types-validate-examples.t fails:

Could not find sub 'StrLength' exported by Types::Common::String at /home/cpansand/.cpan/build/2019122011/LINE-Bot-API-1.13-1JvjtC/blib/lib/LINE/Bot/API/Types.pm line 9.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019122011/LINE-Bot-API-1.13-1JvjtC/blib/lib/LINE/Bot/API/Types.pm line 9.
Compilation failed in require at t/types-validate-examples.t line 11.
BEGIN failed--compilation aborted at t/types-validate-examples.t line 11.
t/types-validate-examples.t ...................... 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

According to statistical analysis this happens if Type-Tiny is too old:

****************************************************************
Regression 'mod:Type::Tiny'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	     -0.0000	      0.0000	  -5.69
[1='eq_1.000006']	      0.0000	      0.0000	   2.85
[2='eq_1.002001']	      0.0000	      0.0000	   3.60
[3='eq_1.004002']	      1.0000	      0.0000	9689688638158460.00
[4='eq_1.004004']	      1.0000	      0.0000	11242351770555976.00
[5='eq_1.006000']	      1.0000	      0.0000	10466059918702296.00
[6='eq_1.008000']	      1.0000	      0.0000	12476371511972458.00

R^2= 1.000, N= 80, K= 7
****************************************************************