@@ -21,7 +21,7 @@ test('fromXml', async function (t) {
2121 fromXml ( '<root unquoted=attribute>' )
2222 assert . fail ( )
2323 } catch ( error ) {
24- assert . match ( String ( error ) , / ^ 1 : 1 6 : A t t r i b u t e v a l u e e x p e c t e d / )
24+ assert . match ( String ( error ) , / ^ 1 : 1 6 : C o u l d n o t p a r s e X M L / )
2525 }
2626 } )
2727
@@ -30,7 +30,7 @@ test('fromXml', async function (t) {
3030 fromXml ( '<!ENTITY>' )
3131 assert . fail ( )
3232 } catch ( error ) {
33- assert . match ( String ( error ) , / ^ 1 : 1 : R o o t e l e m e n t i s m i s s i n g o r i n v a l i d / )
33+ assert . match ( String ( error ) , / ^ 1 : 1 : C o u l d n o t p a r s e X M L / )
3434 }
3535 } )
3636
@@ -39,7 +39,7 @@ test('fromXml', async function (t) {
3939 fromXml ( '<root>&foo;</root>' )
4040 assert . fail ( )
4141 } catch ( error ) {
42- assert . match ( String ( error ) , / ^ 1 : 7 : N a m e d e n t i t y i s n ' t d e f i n e d / )
42+ assert . match ( String ( error ) , / ^ 1 : 7 : C o u l d n o t p a r s e X M L / )
4343 }
4444 } )
4545
@@ -48,7 +48,7 @@ test('fromXml', async function (t) {
4848 fromXml ( '<root>©</root>' )
4949 assert . fail ( )
5050 } catch ( error ) {
51- assert . match ( String ( error ) , / ^ 1 : 7 : N a m e d e n t i t y i s n ' t d e f i n e d / )
51+ assert . match ( String ( error ) , / ^ 1 : 7 : C o u l d n o t p a r s e X M L / )
5252 }
5353 } )
5454
@@ -57,7 +57,7 @@ test('fromXml', async function (t) {
5757 fromXml ( '<root><a><b><c/></a></b></root>' )
5858 assert . fail ( )
5959 } catch ( error ) {
60- assert . match ( String ( error ) , / ^ 1 : 1 7 : M i s s i n g e n d t a g f o r e l e m e n t / )
60+ assert . match ( String ( error ) , / ^ 1 : 1 7 : C o u l d n o t p a r s e X M L / )
6161 }
6262 } )
6363} )
0 commit comments