Skip to content

Commit

Permalink
Simplify tests of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
edi9999 committed Jan 9, 2025
1 parent fc4129e commit 6faf1a1
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 141 deletions.
8 changes: 4 additions & 4 deletions es6/tests/__snapshots.js
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,8 @@ exports[`Multi errors should work with loops unopened`] = {
"explanation": "The tag \"bang\" is closed by the tag \"baz\"",
"openingtag": "bang",
"offset": [
34,
50
36,
52
],
"closingtag": "baz",
"file": "word/document.xml"
Expand All @@ -610,7 +610,7 @@ exports[`Multi errors should work with loops unopened`] = {
"id": "unopened_loop",
"explanation": "The loop with tag \"fff\" is unopened",
"xtag": "fff",
"offset": 59,
"offset": 63,
"file": "word/document.xml"
}
},
Expand All @@ -622,7 +622,7 @@ exports[`Multi errors should work with loops unopened`] = {
"id": "unclosed_loop",
"explanation": "The loop with tag \"yum\" is unclosed",
"xtag": "yum",
"offset": 68,
"offset": 74,
"file": "word/document.xml"
}
}
Expand Down
Loading

0 comments on commit 6faf1a1

Please sign in to comment.