Skip to content

Commit 4576722

Browse files
committed
unit-test update
1 parent 1b14ef9 commit 4576722

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Diff for: test/cases/dsl-match/0002/expout

+13
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,18 @@
9393
{
9494
"foo": "bar",
9595
"z": (error)
96+
},
97+
{
98+
"x": "1234567890abcdefghij",
99+
"y": "(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)",
100+
"z": {
101+
"matched": true,
102+
"full_capture": "1234567890abcdefghij",
103+
"full_start": 1,
104+
"full_end": 20,
105+
"captures": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j"],
106+
"starts": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
107+
"ends": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
108+
}
96109
}
97110
]

Diff for: test/cases/dsl-match/0002/input

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ x=a,y=
99
x=a
1010
y=b
1111
foo=bar
12+
x=1234567890abcdefghij,y=(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)

0 commit comments

Comments
 (0)