Skip to content

Commit 4a4b6d9

Browse files
pzygieloKengoTODA
authored andcommitted
fix: use hamcrest' assertThat
Avoid compiler's warning about deprecated API used. https://github.com/junit-team/junit4/blob/HEAD/doc/ReleaseNotes4.13.md#pull-request-1150-deprecate-assertassertthat
1 parent 2ed9960 commit 4a4b6d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/archetype-resources/src/test/java/MyDetectorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package ${package};
22

33
import static edu.umd.cs.findbugs.test.CountMatcher.containsExactly;
4-
import static org.junit.Assert.assertThat;
4+
import static org.hamcrest.MatcherAssert.assertThat;
55

66
import java.nio.file.Path;
77
import java.nio.file.Paths;

0 commit comments

Comments
 (0)