[Patches] [PATCH] Bug 5327 - fixing t/db_dependent/Record.t to not fail because of whitespace.
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Thu Dec 8 11:55:02 NZDT 2011
From: Liz Rea <wizzyrea at gmail.com>
Date: Wed, 7 Dec 2011 16:47:31 -0600
Subject: [PATCH] Bug 5327 - fixing t/db_dependent/Record.t to not fail because of whitespace.
Content-Type: text/plain; charset="utf-8"
To test:
run prove -v t/db_dependent/Record.t
The test should complete successfully.
I should note - if this test was actually testing the whitespace and the problem with the output was valid, please go ahead and fix that problem and disregard this patch.
To me, the generated output looked better than the expected result, so I made them match.
---
t/db_dependent/Record.t | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/t/db_dependent/Record.t b/t/db_dependent/Record.t
index b0e1894..2e04449 100755
--- a/t/db_dependent/Record.t
+++ b/t/db_dependent/Record.t
@@ -74,11 +74,11 @@ is ($marcqualified, $test3xml, "testing marcQualified");
my $mods=marc2modsxml($marc);
my $test4xml=qq(<?xml version="1.0" encoding="UTF-8"?>
<mods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" version="3.1" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-1.xsd">
-<typeOfResource/>
-<originInfo>
-<issuance/>
-</originInfo>
-<recordInfo/>
+ <typeOfResource/>
+ <originInfo>
+ <issuance/>
+ </originInfo>
+ <recordInfo/>
</mods>
);
--
1.7.2.5
More information about the Patches
mailing list