File: 02load_xml.t

package info (click to toggle)
libxml-semanticdiff-perl 1.0007-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 340 kB
  • sloc: perl: 703; xml: 532; sh: 4; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use Test;
BEGIN { plan tests => 1 }

use XML::SemanticDiff;

my $diff = XML::SemanticDiff->new();

my $xml1 = qq*<?xml version="1.0"?>
<root>
<el1 el1attr="good"/>
<el2>Some Text</el2>
</root>
*;

my $foo = $diff->read_xml($xml1);

ok($foo);