Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37569563
en ru br
Репозитории ALT
S:3.004-alt2
5.1: 2.00.10-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-SOAP-WSDL

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: SOAP-WSDL-2.00.10-debian-use_test_xml.patch
Скачать


Description: use Test::XML for comparing XML instead of 'eq'
 'eq' works most of the time, until you have XML structures which have more
 than one attribute. Their serialization is non-deterministic since the order
 of the attributes is not predictable.
Author: Damyan Ivanov <dmn@debian.org>
Bug: https://rt.cpan.org/Ticket/Display.html?id=74257
Bug-Debian: http://bugs.debian.org/720964
--- a/t/SOAP/WSDL/05_simpleType-list.t
+++ b/t/SOAP/WSDL/05_simpleType-list.t
@@ -36,7 +36,11 @@ ok $xml = $soap->call('test', testAll =>
 #5
 ok ( $xml2 = $soap->call('test', testAll => "1 2" ) , 'Serialized scalar call' );
 #6
-ok( $xml eq $xml2, 'Got expected result');
+SKIP: {
+    skip "Test::XML needed for comparing XML", 1
+        unless eval { require Text::XML };
+    is_xml( $xml, $xml2, 'Got expected result');
+}
 
 #7	
 TODO: {
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin