From 4576722867c294d32b729d014433e684df3220f3 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Tue, 19 Dec 2023 14:24:53 -0500 Subject: [PATCH] unit-test update --- test/cases/dsl-match/0002/expout | 13 +++++++++++++ test/cases/dsl-match/0002/input | 1 + 2 files changed, 14 insertions(+) diff --git a/test/cases/dsl-match/0002/expout b/test/cases/dsl-match/0002/expout index e8a68d7292..1c44eb6c35 100644 --- a/test/cases/dsl-match/0002/expout +++ b/test/cases/dsl-match/0002/expout @@ -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] + } } ] diff --git a/test/cases/dsl-match/0002/input b/test/cases/dsl-match/0002/input index 5facdc4fb1..10308f01d3 100644 --- a/test/cases/dsl-match/0002/input +++ b/test/cases/dsl-match/0002/input @@ -9,3 +9,4 @@ x=a,y= x=a y=b foo=bar +x=1234567890abcdefghij,y=(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)