T
G
EOF my $first_item_is_f = <<"EOF";F
G
EOF my $diff = XML::SemanticDiff->new(); my @results = $diff->compare($first_item_is_t, $first_item_is_f); # TEST is (scalar(@results), 1, "Making sure there's one difference in the XML"); 1; 00-compile.t 100644 001751 001751 2711 13335125313 17774 0 ustar 00perigrin perigrin 000000 000000 XML-SemanticDiff-1.0007/t use 5.006; use strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058 use Test::More; plan tests => 2 + ($ENV{AUTHOR_TESTING} ? 1 : 0); my @module_files = ( 'XML/SemanticDiff.pm', 'XML/SemanticDiff/BasicHandler.pm' ); # no fake home requested my @switches = ( -d 'blib' ? '-Mblib' : '-Ilib', ); use File::Spec; use IPC::Open3; use IO::Handle; open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; my @warnings; for my $lib (@module_files) { # see LThese are my books.
Little Women by Louisa May Alcott.
These are my books.
Little Women by Louisa May Alcott.