Subject: | optionally compare comments |
Currently the following test passes, and perhaps it shouldn't by default:
use Test::More;
plan tests => 1;
use Test::XML::Ordered qw(is_xml_ordered);
is_xml_ordered(
[string => '<xml><!--stuff--></xml>'],
[string => '<xml><!--bar--></xml>'],
'XML structure'
);
I think it may be common both to want to compare comments and to not want to compare comments, so I think it may be better to make this optional (not sure how).