1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: automatic testing shows a strange warning, which is intentional
Patch suppresses output of warning, as it confuses packagers.
.
Not forwarded, as output seems intentional (might be leftover from
development, though).
Author: Florian Schlichting <fschlich@zedat.fu-berlin.de>
Forwarded: not-needed
--- a/t/error-handling.t
+++ b/t/error-handling.t
@@ -10,7 +10,6 @@
my $r;
eval { $r = MARC::Record->new_from_xml($xml, 'UTF-8'); };
if ($@) {
- diag($@);
ok($@ =~ /found MARCXML element/, 'failed with sensible exception message');
} else {
fail('should have thrown an exception trying to parse XML from t/invalid.xml');
|