Skip to content

Commit fd56f62

Browse files
committed
TEST fix
1 parent 2dcfe3d commit fd56f62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stdlib/test/re_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ pcre_compile_workspace_overflow(Config) when is_list(Config) ->
727727
N = 1180,
728728
ExpStr = "Got expected error: ",
729729
case re:compile([lists:duplicate(N, $(), lists:duplicate(N, $))]) of
730-
{error, {"regular expression is too complicated" = Str,2360}} ->
730+
{error, {"regular expression is too complicated" = Str, _Pos}} ->
731731
{comment, ExpStr ++ Str};
732732
{error, {"parentheses are too deeply nested (stack check)" = Str, _No}} ->
733733
{comment, ExpStr ++ Str};

0 commit comments

Comments
 (0)