Skip to content

Commit

Permalink
common_test: Fix test case ct_telnet_SUITE:faulty_regexp
Browse files Browse the repository at this point in the history
The error message has changed in PCRE2.
  • Loading branch information
sverker committed Feb 5, 2025
1 parent 0c94436 commit dd2a3f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/common_test/test/ct_telnet_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ events_to_check(faulty_regexp,_Config) ->
{?eh,tc_done,
{ct_telnet_faulty_regexp_SUITE,expect_pattern,
{failed,
{error,{{bad_pattern,"invalid(pattern",{"missing )",15}},
{error,{{bad_pattern,"invalid(pattern",{"missing closing parenthesis",15}},
{ct_telnet,expect,3}}}}}},
{?eh,tc_done,
{ct_telnet_faulty_regexp_SUITE,expect_pattern_no_string,
Expand All @@ -246,7 +246,7 @@ events_to_check(faulty_regexp,_Config) ->
{?eh,tc_done,
{ct_telnet_faulty_regexp_SUITE,expect_tag_pattern,
{failed,
{error,{{bad_pattern,{tag,"invalid(pattern"},{"missing )",15}},
{error,{{bad_pattern,{tag,"invalid(pattern"},{"missing closing parenthesis",15}},
{ct_telnet,expect,3}}}}}},
{?eh,tc_done,
{ct_telnet_faulty_regexp_SUITE,expect_tag_pattern_no_string,
Expand Down

0 comments on commit dd2a3f9

Please sign in to comment.