Files
perl-XML-Hash-LX/XML-Hash-LX-0.0603-Fix-unpredictable-order-at-empty-attr-test.patch
Dirk Stoecker d0f195e75a Accepting request 824718 from devel:languages:perl:autoupdate
- Add manual dependency Types::Serialiser
- Update patch XML-Hash-LX-0.0603-Fix-unpredictable-order-at-empty-attr-test.patch
- updated to 0.07
   see /usr/share/doc/packages/perl-XML-Hash-LX/Changes
  0.0605 2018-07-13
          - load_ext_dtd = 0
  
  0.0604  2016-12-01
          - Fix tests

OBS-URL: https://build.opensuse.org/request/show/824718
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Hash-LX?expand=0&rev=3
2020-08-08 11:42:37 +00:00

32 lines
1023 B
Diff

From 19c3c8bbb1646dc5bfe7f0d3df5efb3ba58ada80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Mon, 9 Jun 2014 17:41:32 +0200
Subject: [PATCH] Fix unpredictable order at 'empty attr' test
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
RT#81645
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
t/01-conv.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/01-conv.t b/t/01-conv.t
index f7b06c5..30f24dc 100644
--- a/t/01-conv.t
+++ b/t/01-conv.t
@@ -297,7 +297,7 @@ our $xml = qq{<?xml version="1.0" encoding="utf-8"?>\n};
}
{
like
- $data = hash2xml( { node => { -attr => undef, '#cdata' => undef, '/' => undef, x=>undef } }, cdata => '#cdata', comm => '/' ),
+ $data = hash2xml( { node => [ { -attr => undef }, { '#cdata' => undef }, { '/' => undef }, { x=>undef } ] }, cdata => '#cdata', comm => '/' ),
qr{^\Q$xml<node attr="">\E(?:<!----><x/>|<x/><!---->)</node>\n},
'empty attr',
;
--
1.9.3