bug 9370: add invalid call number to LC splitting test cases
authorGalen Charlton <gmc@esilibrary.com>
Wed, 9 Jan 2013 01:28:40 +0000 (17:28 -0800)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 12 Jun 2013 14:44:05 +0000 (07:44 -0700)
'123 ABC FOO BAR' is intentionally *not* a valid LC call number,
but in order to preserve legacy behavior, it should be split on
whitespace.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/Labels_split_lccn.t

index c79cc00..87ab8ae 100755 (executable)
@@ -34,6 +34,7 @@ BEGIN {
             'BS2545.E8 H39 1996'   => [qw(BS 2545 .E8 H39 1996)],
             'NX512.S85 A4 2006'    => [qw(NX 512 .S85 A4 2006)],
             'QH541.15.C6 C25 2012' => [qw(QH 541.15 .C6 C25 2012)],
+            '123 ABC FOO BAR'      => [qw(123 ABC FOO BAR)],
         };
     }
     my $test_num = 1;