Skip Menu |

This queue is for tickets about the Test-XML-Ordered CPAN distribution.

Report information
The Basics
Id: 89262
Status: resolved
Priority: 0/
Queue: Test-XML-Ordered

People
Owner: Nobody in particular
Requestors: NGLENN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.0.6
Fixed in: (no value)



Subject: Compare attribute values
The following test passes, and I believe that it should not: use Test::More; plan tests => 1; use Test::XML::Ordered qw(is_xml_ordered); is_xml_ordered( [string => '<xml stuff="foo"/>'], [string => '<xml stuff="bar"/>'], 'XML structure' ); It doesn't pass when using Test::XML, the only referenced distribution. Nathan
Hi Nathan, On Sat Oct 05 03:04:17 2013, NGLENN wrote: Show quoted text
> The following test passes, and I believe that it should not: > > use Test::More; > plan tests => 1; > use Test::XML::Ordered qw(is_xml_ordered); > is_xml_ordered( > [string => '<xml stuff="foo"/>'], > [string => '<xml stuff="bar"/>'], > 'XML structure' > );
One should note that is_xml_ordered() accepts exactly four arguments with the third being a hash reference of options. Show quoted text
> > It doesn't pass when using Test::XML, the only referenced distribution. > Nathan
This should be fixed in 0.0.7 which was just uploaded to CPAN. Please test. Regards, -- Shlomi Fish
Passes with Strawberry 5.16.1 and 5.18.1 portable. Thanks! Show quoted text
> Please test.
On Fri Nov 01 15:38:54 2013, NGLENN wrote: Show quoted text
> Passes with Strawberry 5.16.1 and 5.18.1 portable. Thanks! >
Resolving then. Thanks! Regards, -- Shlomi Fish Show quoted text
> > Please test.