Skip to content

Commit a8558f2

Browse files
author
Zoltan Herczeg
committed
Fix wrong test
1 parent 2c08b61 commit a8558f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pcre2_jit_test.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ static const struct invalid_utf8_regression_test_case invalid_utf8_regression_te
19811981
{ PCRE2_UTF, CI, 0, 0, 0, 7, 11, { "#\xc7\x85#", NULL }, "\x80\x80#\xc7\x80\x80\x80#\xc7\x85#" },
19821982

19831983
{ PCRE2_UTF | PCRE2_UCP, CI, 0, 0, 0, -1, -1, { "[\\s]", NULL }, "\xed\xa0\x80" },
1984-
{ PCRE2_UTF, CI, 0, 0, 0, 1, 4, { "[\\D]", NULL }, "@\xe0\xab\xaa@" },
1984+
{ PCRE2_UTF, CI, 0, 0, 0, 0, 3, { "[\\D]", NULL }, "\xe0\xab\xaa@" },
19851985

19861986
/* These two are not invalid UTF tests, but this infrastructure fits better for them. */
19871987
{ 0, PCRE2_JIT_COMPLETE, 0, 0, 1, -1, -1, { "\\X{2}", NULL }, "\r\n\n" },

0 commit comments

Comments
 (0)