File: 02load_xml.t

package info (click to toggle)
libxml-semanticdiff-perl 1.00.00-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 232 kB
  • sloc: perl: 535; xml: 532; makefile: 13
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);