Use AssertJ's fail, not JUnit's

This commit also updates Checkstyle to prevent use of JUnit's
assertions from being reintroduced.

See gh-37655
This commit is contained in:
Johnny Lim
2023-10-03 14:50:51 +09:00
committed by Andy Wilkinson
parent ed4ab667a1
commit c9932bb73a
11 changed files with 23 additions and 23 deletions

View File

@@ -21,7 +21,7 @@ import java.util.concurrent.CountDownLatch;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.fail;
import static org.assertj.core.api.Assertions.fail;
/**
* Tests for {@link SilentExitExceptionHandler}.