From 451d6d12bd2b0235593ebe904aa29065cfe3af0d Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Tue, 30 Nov 2021 02:51:47 -0500 Subject: [PATCH] Fixed org.junit.Assert.assertThat deprecation warning --- .../java/picocli/annotation/processing/tests/YamlAssert.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/picocli-annotation-processing-tests/src/test/java/picocli/annotation/processing/tests/YamlAssert.java b/picocli-annotation-processing-tests/src/test/java/picocli/annotation/processing/tests/YamlAssert.java index 93ca2a364..fd72c5d8d 100644 --- a/picocli-annotation-processing-tests/src/test/java/picocli/annotation/processing/tests/YamlAssert.java +++ b/picocli-annotation-processing-tests/src/test/java/picocli/annotation/processing/tests/YamlAssert.java @@ -11,7 +11,9 @@ import static com.google.testing.compile.Compiler.javac; import static org.hamcrest.CoreMatchers.*; -import static org.junit.Assert.*; +import static org.hamcrest.MatcherAssert.assertThat; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; public final class YamlAssert { private YamlAssert() {