[Koha-patches] [PATCH 5/6] bug 9370: add invalid call number to LC splitting test cases

Galen Charlton gmc at esilibrary.com
Wed Jan 9 04:36:26 CET 2013


'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 at esilibrary.com>
---
 t/Labels_split_lccn.t |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/t/Labels_split_lccn.t b/t/Labels_split_lccn.t
index c79cc00..87ab8ae 100755
--- a/t/Labels_split_lccn.t
+++ b/t/Labels_split_lccn.t
@@ -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;
-- 
1.7.2.5



More information about the Koha-patches mailing list