From cdfb618c4443dddccdd1deb2f8970726f03bb062 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 6 Sep 2024 14:51:15 +0200 Subject: [PATCH] =?utf8?q?=F0=9F=90=9B=20Only=20accept=20matchers=20for=20?= =?utf8?q?Strings=20on=20FCP=20message=20field=20values?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/test/java/net/pterodactylus/fcp/test/Matchers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/net/pterodactylus/fcp/test/Matchers.java b/src/test/java/net/pterodactylus/fcp/test/Matchers.java index 871869f..f3c4897 100644 --- a/src/test/java/net/pterodactylus/fcp/test/Matchers.java +++ b/src/test/java/net/pterodactylus/fcp/test/Matchers.java @@ -81,7 +81,7 @@ public class Matchers { }; } - public static Matcher hasField(String name, Matcher valueMatcher) { + public static Matcher hasField(String name, Matcher valueMatcher) { return new TypeSafeDiagnosingMatcher() { @Override protected boolean matchesSafely(FcpMessage fcpMessage, Description mismatchDescription) { -- 2.7.4