summaryrefslogtreecommitdiff
path: root/t/23rawfunctions.t
blob: 427401cbb3f69eb6be504eadf13a4ee92741c271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

use strict;
use warnings;

use Test::More tests => 2;

use XML::LibXML;

my $doc = XML::LibXML->createDocument;

my $t1 = $doc->createTextNode( "foo" );
my $t2 = $doc->createTextNode( "bar" );

$t1->addChild( $t2 );

eval {
    my $v = $t2->nodeValue;
};
# TEST
ok($@, 'An exception was thrown');

# TEST
ok(1, 'End');