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

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to