Skip to content

Commit

Permalink
Run after all hooks in reverse order
Browse files Browse the repository at this point in the history
  • Loading branch information
mpkorstanje committed Mar 28, 2021
1 parent 419aaa7 commit 01e9ca4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ final class CachingGlue implements Glue {
@Override
public void addBeforeAllHook(StaticHookDefinition beforeAllHook) {
beforeAllHooks.add(beforeAllHook);
afterAllHooks.sort(STATIC_HOOK_ORDER_ASCENDING);
beforeAllHooks.sort(STATIC_HOOK_ORDER_ASCENDING);
}

@Override
Expand Down

0 comments on commit 01e9ca4

Please sign in to comment.