From 885c6601b76a506737a92394ad50a17892eb22d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awek=20Piotrowski?= Date: Wed, 7 Jul 2021 07:58:09 +0200 Subject: [PATCH] Fix some code warnings Change-Id: Iff10d19bfef6180fda8e4dd1b10d3753e381e4d8 --- src/test/java/org/atteo/evo/inflector/EnglishInflectorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/atteo/evo/inflector/EnglishInflectorTest.java b/src/test/java/org/atteo/evo/inflector/EnglishInflectorTest.java index b285786..2228db5 100644 --- a/src/test/java/org/atteo/evo/inflector/EnglishInflectorTest.java +++ b/src/test/java/org/atteo/evo/inflector/EnglishInflectorTest.java @@ -185,7 +185,7 @@ public void wiktionaryList() throws IOException { System.out.println(" No plural form specified: " + wrongNoPlural + " (" + wrongNoPluralPercent + "%)"); System.out.println(" Incorrect answer: " + justPlainWrong + " (" + justPlainWrongPercent + "%)"); assertTrue(correct > 68); - assertTrue(basicWrong == 1); + assertEquals(1, basicWrong); } @Test