Skip to content

Commit 3bb199f

Browse files
chore: update copyright, email, and improve errorprone config formatting (#409)
* chore: update developer email and simplify ErrorProne compiler arguments * chore: add `prettier-ignore` comments to simplify ErrorProne compiler argument formatting * chore: refine `prettier-ignore` usage for ErrorProne arguments in `pom.xml` * chore: simplify ErrorProne compiler arguments in `pom.xml` * chore: simplify ErrorProne compiler arguments in `pom.xml` by removing unused options * chore: update `pom.xml` ErrorProne arguments and replace `Assertions.assertThat` with `assertThat` in `ExceptionToolsTest` * chore: refine ErrorProne compiler arguments in `pom.xml` by formatting long lines
1 parent 80b9236 commit 3bb199f

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

module/tools/src/test/java/com/xenoterracide/blackbox/ExceptionToolsTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright © 2024 Caleb Cushing
1+
// SPDX-FileCopyrightText: Copyright © 2024, 2026 Caleb Cushing
22
//
33
// SPDX-License-Identifier: Apache-2.0
44

@@ -11,14 +11,13 @@
1111
import io.vavr.control.Try;
1212
import java.io.IOException;
1313
import java.io.UncheckedIOException;
14-
import org.assertj.core.api.Assertions;
1514
import org.junit.jupiter.api.Test;
1615

1716
class ExceptionToolsTest {
1817

1918
@Test
2019
void convertRuntimeExceptionsAreJustRethrown() {
21-
Assertions.assertThat(ExceptionTools.toRuntime(new NullPointerException()))
20+
assertThat(ExceptionTools.toRuntime(new NullPointerException()))
2221
.isInstanceOf(NullPointerException.class)
2322
.hasNoCause();
2423
}

0 commit comments

Comments
 (0)