Lines 4-10
Link Here
|
4 |
use strict; |
4 |
use strict; |
5 |
use warnings; |
5 |
use warnings; |
6 |
|
6 |
|
7 |
use Test::More tests => 24; |
7 |
use Test::More tests => 26; |
8 |
C4::Context->_new_userenv(123456); |
8 |
C4::Context->_new_userenv(123456); |
9 |
C4::Context->set_userenv(1,'kmkale' , 1, 'kk1' , 'IMS', 0, 'kmkale@anantcorp.com'); |
9 |
C4::Context->set_userenv(1,'kmkale' , 1, 'kk1' , 'IMS', 0, 'kmkale@anantcorp.com'); |
10 |
|
10 |
|
Lines 18-23
our %inputs = (
Link Here
|
18 |
whitespace => [" 26002315", "26002315 ", "\n\t26002315\n"], |
18 |
whitespace => [" 26002315", "26002315 ", "\n\t26002315\n"], |
19 |
'T-prefix' => [qw(T0031472 T32)], |
19 |
'T-prefix' => [qw(T0031472 T32)], |
20 |
'libsuite8' => ['b000126', 'b12', 'B0126', 'IMS-B-126', 'ims-b-126','CD0000024','00123','11998'], |
20 |
'libsuite8' => ['b000126', 'b12', 'B0126', 'IMS-B-126', 'ims-b-126','CD0000024','00123','11998'], |
|
|
21 |
EAN13 => [qw(892685001928 695152)], |
21 |
other => [qw(26002315 T0031472 T32 Alphanum123), "Alpha Num 345"], |
22 |
other => [qw(26002315 T0031472 T32 Alphanum123), "Alpha Num 345"], |
22 |
); |
23 |
); |
23 |
our %outputs = ( |
24 |
our %outputs = ( |
Lines 25-30
our %outputs = (
Link Here
|
25 |
whitespace => [qw(26002315 26002315 26002315)], |
26 |
whitespace => [qw(26002315 26002315 26002315)], |
26 |
'T-prefix' => [qw(T0031472 T0000002 )], |
27 |
'T-prefix' => [qw(T0031472 T0000002 )], |
27 |
'libsuite8' => ['IMS-b-126', 'IMS-b-12', 'IMS-B-126', 'IMS-B-126', 'ims-b-126','IMS-CD-24','IMS-b-123','IMS-b-11998'], |
28 |
'libsuite8' => ['IMS-b-126', 'IMS-b-12', 'IMS-B-126', 'IMS-B-126', 'ims-b-126','IMS-CD-24','IMS-b-123','IMS-b-11998'], |
|
|
29 |
EAN13 => [qw(0892685001928 0000000695152)], |
28 |
other => [qw(26002315 T0031472 T32 Alphanum123), "Alpha Num 345"], |
30 |
other => [qw(26002315 T0031472 T32 Alphanum123), "Alpha Num 345"], |
29 |
); |
31 |
); |
30 |
|
32 |
|
31 |
- |
|
|