Bugzilla – Attachment 39352 Details for
Bug 14238
C4::Matcher is mangling data to match on
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14238 - Unit Test to demonstrate issue
Bug-14238---Unit-Test-to-demonstrate-issue.patch (text/plain), 899 bytes, created by
Kyle M Hall (khall)
on 2015-05-20 16:23:14 UTC
(
hide
)
Description:
Bug 14238 - Unit Test to demonstrate issue
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-05-20 16:23:14 UTC
Size:
899 bytes
patch
obsolete
>From 9564ab37cbc23a7fbf850518194df7824dae29d9 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 20 May 2015 12:22:45 -0400 >Subject: [PATCH] Bug 14238 - Unit Test to demonstrate issue > >--- > t/Matcher.t | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/t/Matcher.t b/t/Matcher.t >index 484afe0..c476cfa 100755 >--- a/t/Matcher.t >+++ b/t/Matcher.t >@@ -4,7 +4,7 @@ > > use strict; > use warnings; >-use Test::More tests => 10; >+use Test::More tests => 11; > use Test::MockModule; > > BEGIN { >@@ -62,3 +62,5 @@ is( $testmatcher->code(), 'match on ISBN', 'testing code accessor' ); > $testmatcher->description('match on ISSN'); > > is( $testmatcher->description(), 'match on ISSN', 'testing code accessor' ); >+ >+is( C4::Matcher::_normalize('(OCoLC)20329436'), '(OCoLC)20329436', 'C4::Matcher::_normalize does not mangle standard OCLC fields' ); >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14238
:
39352
|
52897