Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
  • Loading branch information
u3s committed Dec 4, 2024
2 parents 8ef1b05 + 3b92c38 commit e33f66e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/common_test/src/cth_surefire.erl
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,11 @@ on_tc_skip(Suite,Tc, Res, State0) ->
State0
end,
State2 = end_tc(Tc,[],Res,init_tc(set_suite(Suite,State1),[])),
CurrGroup = State2#state.curr_group,
State =
case Tc of
end_per_group ->
State2#state{curr_group = tl(State2#state.curr_group)};
case {Tc, is_list(CurrGroup) andalso length(CurrGroup)>0}of
{end_per_group, true} ->
State2#state{curr_group = tl(CurrGroup)};
_ ->
State2
end,
Expand Down

0 comments on commit e33f66e

Please sign in to comment.