File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ subtest 'schema :network option', {
101
101
102
102
{
103
103
my $ schema = try { LibXML::Schema. new ( location => $ netfile ); };
104
- like $! , /'I/O error : Attempt to load network entity' /, ' Schema from file location with external import throws an exception.' ;
104
+ like $! , /'I/O error :' .* ' Attempt to load network entity' /, ' Schema from file location with external import throws an exception.' ;
105
105
nok defined ($ schema ), ' Schema from file location with external import and !network is not loaded.' ;
106
106
}
107
107
{
@@ -111,7 +111,7 @@ subtest 'schema :network option', {
111
111
<xsd:import namespace="http://example.com/namespace" schemaLocation="http://example.com/xml.xsd"/ >
112
112
</xsd:schema >
113
113
EOF
114
- like ( $! , /'I/O error : Attempt to load network entity' /, ' Schema from buffer with external import throws an exception.' );
114
+ like ( $! , /'I/O error : ' .* ' Attempt to load network entity' /, ' Schema from buffer with external import throws an exception.' );
115
115
nok ( defined ($ schema ), ' Schema from buffer with external import and !network is not loaded.' );
116
116
}
117
117
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ subtest 'network options', {
124
124
$ parser .expand_entities = True;
125
125
is-deeply $ parser .network, False;
126
126
try { $ parser . load: string => $ XML } ;
127
- like( $!, /'I/O error : Attempt to load network entity'/, 'Entity from network location throw error.' );
127
+ like( $!, /'I/O error : '.*' Attempt to load network entity'/, 'Entity from network location throw error.' );
128
128
nok $ net-access , 'no attempted network access';
129
129
$ parser .network = True;
130
130
try { $ parser . load: string => $ XML } ;
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ subtest 'LibXML::Document' => {
157
157
$ doc . indexElements();
158
158
159
159
if $ * DISTRO . is-win {
160
- skip ' todo - proper encoding/iconv on Winbdows ' , 2 ;
160
+ skip ' todo - proper encoding/iconv on Windows ' , 2 ;
161
161
}
162
162
else {
163
163
$ doc = LibXML. createDocument( ' 1.0' , " ISO-8859-15" );
You can’t perform that action at this time.
0 commit comments