Skip to content

Commit

Permalink
unit-test update
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Dec 19, 2023
1 parent 1b14ef9 commit 4576722
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/cases/dsl-match/0002/expout
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,18 @@
{
"foo": "bar",
"z": (error)
},
{
"x": "1234567890abcdefghij",
"y": "(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)",
"z": {
"matched": true,
"full_capture": "1234567890abcdefghij",
"full_start": 1,
"full_end": 20,
"captures": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j"],
"starts": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
"ends": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
}
}
]
1 change: 1 addition & 0 deletions test/cases/dsl-match/0002/input
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ x=a,y=
x=a
y=b
foo=bar
x=1234567890abcdefghij,y=(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)

0 comments on commit 4576722

Please sign in to comment.