Skip to content

Commit 12deff6

Browse files
author
ochafik
committed
nit: spaces
1 parent 68eeff1 commit 12deff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test-regex-partial.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ static void test_regex() {
178178
{"abc def", {COMMON_REGEX_MATCH_TYPE_FULL, {{0, 7}}}},
179179
{"abc defg", {COMMON_REGEX_MATCH_TYPE_FULL, {{0, 7}}}},
180180
{"abc defgh", {COMMON_REGEX_MATCH_TYPE_FULL, {{0, 7}}}},
181-
{"abcde", {COMMON_REGEX_MATCH_TYPE_PARTIAL, {{0, 5}}}},
181+
{"abcde", {COMMON_REGEX_MATCH_TYPE_PARTIAL, {{0, 5}}}},
182182
{"abcdefgh", {COMMON_REGEX_MATCH_TYPE_FULL, {{0, 6}}}},
183183
{" d", {COMMON_REGEX_MATCH_TYPE_PARTIAL, {{0, 2}}}},
184184
{"def", {COMMON_REGEX_MATCH_TYPE_FULL, {{0, 3}}}},
@@ -223,7 +223,7 @@ static void test_regex() {
223223
{"<function_call> {\"name\": \"special_function\", \"arguments\": {\"arg1\": 1}}", {COMMON_REGEX_MATCH_TYPE_FULL, {{0, 24}, {70, 70}, {0, 15}, {15, 24}, {70, 70}, {70, 70}}}},
224224
{"<function name=\"special_function\"> {\"name\": \"special_function\", \"arguments\": {\"arg1\": 1}}", {COMMON_REGEX_MATCH_TYPE_FULL, {{0, 34}, {89, 89}, {89, 89}, {89, 89}, {89, 89}, {16, 32}}}},
225225
{"<function=all>", {COMMON_REGEX_MATCH_TYPE_FULL, {{0, 14}, {14, 14}, {14, 14}, {14, 14}, {10, 13}, {14, 14}}}},
226-
226+
227227
}
228228
});
229229
}

0 commit comments

Comments
 (0)