From a77f3528967c67f0c749b05c26a803845c68befe Mon Sep 17 00:00:00 2001 From: sampada Date: Sat, 18 Jan 2020 20:19:34 +0530 Subject: [PATCH] BAEL-3602 : swapped order of args in assertEquals call --- .../newfeatures/SwitchExpressionsWithYieldUnitTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-java-modules/core-java-13/src/test/java/com/baeldung/newfeatures/SwitchExpressionsWithYieldUnitTest.java b/core-java-modules/core-java-13/src/test/java/com/baeldung/newfeatures/SwitchExpressionsWithYieldUnitTest.java index 33dea53985..be1fcfd167 100644 --- a/core-java-modules/core-java-13/src/test/java/com/baeldung/newfeatures/SwitchExpressionsWithYieldUnitTest.java +++ b/core-java-modules/core-java-13/src/test/java/com/baeldung/newfeatures/SwitchExpressionsWithYieldUnitTest.java @@ -21,7 +21,7 @@ public class SwitchExpressionsWithYieldUnitTest { default -> me; }; - assertEquals(result, 16); + assertEquals(16, result); } }