From d7f9bec70b353e64c30dd147f4fe50cbcd8d23d0 Mon Sep 17 00:00:00 2001 From: Anshul Bansal Date: Thu, 9 Jul 2020 09:59:50 +0300 Subject: [PATCH] Update core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/versioncomparison/VersionComparisonUnitTest.java Co-authored-by: KevinGilmore --- .../baeldung/versioncomparison/VersionComparisonUnitTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/versioncomparison/VersionComparisonUnitTest.java b/core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/versioncomparison/VersionComparisonUnitTest.java index 7221cdf6ec..a8e2e53853 100644 --- a/core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/versioncomparison/VersionComparisonUnitTest.java +++ b/core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/versioncomparison/VersionComparisonUnitTest.java @@ -88,7 +88,7 @@ public class VersionComparisonUnitTest { Version version1_1_snapshot = new Version(1, 1, 0, "snapshot", null, null); assertEquals(version1_1.compareTo(version1_1_snapshot), 0); - assertEquals(version1_1_snapshot.isSnapshot(), true); + assertTrue(version1_1_snapshot.isSnapshot()); } @Test