14 |
$abs_path =~ s#/[^/]*$#/#; |
$abs_path =~ s#/[^/]*$#/#; |
15 |
diag "abs_path: $abs_path"; |
diag "abs_path: $abs_path"; |
16 |
|
|
17 |
ok(my $n = new WebPAC::Normalize::XML( debug => 1 ), "new"); |
ok(my $n = new WebPAC::Normalize::XML( debug => 0 ), "new"); |
|
|
|
18 |
|
|
19 |
throws_ok { $n->open() } qr/tag/, "open without tag"; |
throws_ok { $n->open() } qr/tag/, "open without tag"; |
20 |
throws_ok { $n->open( tag => 'isis' ) } qr/xml_file/, "open without xml_file"; |
throws_ok { $n->open( tag => 'isis' ) } qr/xml_file/, "open without xml_file"; |