From 156c151006eed9b1e4a35b2b07449187ea31005e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 4 Mar 2022 08:47:15 +0100 Subject: [PATCH] Bug 30035: Fix failing test Looks like there was a change in the output for Spanish. Can be 'ene.' in older versions Sponsored-by: Orex Digital Signed-off-by: Kyle M Hall --- t/db_dependent/Serials.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Serials.t b/t/db_dependent/Serials.t index 293905d931..c700fb6c56 100755 --- a/t/db_dependent/Serials.t +++ b/t/db_dependent/Serials.t @@ -466,7 +466,7 @@ subtest "_numeration" => sub { $s = C4::Serials::_numeration(0, 'monthabrv', 'cat'); is( $s, "de gen." ); $s = C4::Serials::_numeration(0, 'monthabrv', 'es'); - is( $s, "ene" ); + like( $s, qr{^ene\.?} ); $s = C4::Serials::_numeration(0, 'monthabrv', 'fr'); is( $s, "janv." ); }; -- 2.39.2