File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ export class Parser {
292292
293293 if ( ( < ElementNode > this . currentTag ) . tag !== tagToClose ) {
294294 this . throwError (
295- new SyntaxError ( `Expected closing "${ ( < ElementNode > this . currentTag ) . tag } ", found "${ tagToClose } at ${ this . position } " ` ) ,
295+ new SyntaxError ( `Expected closing "${ ( < ElementNode > this . currentTag ) . tag } ", found "${ tagToClose } " at ${ this . position } ` ) ,
296296 ) ;
297297 }
298298
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ describe('html parser', () => {
140140 } ) ;
141141
142142 it ( 'should throw an error when closing the wrong tag' , ( ) => {
143- expect ( ( ) => parse ( `<div></span>` ) ) . toThrowError ( 'Expected closing "div", found "span" at 1:5 ' ) ;
143+ expect ( ( ) => parse ( `<div></span>` ) ) . toThrowError ( 'Expected closing "div", found "span" at 1:12 ' ) ;
144144 } ) ;
145145
146146 it ( 'should parse comments and text' , ( ) => {
You can’t perform that action at this time.
0 commit comments