This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 59ac86f15c9a145c246427a115cc75322c7d14af Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Apr 17 13:05:11 2023 +0200 (chores) camel-core: swapped incorrect assertion arguments --- .../test/java/org/apache/camel/converter/BasicEnumConverterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-core/src/test/java/org/apache/camel/converter/BasicEnumConverterTest.java b/core/camel-core/src/test/java/org/apache/camel/converter/BasicEnumConverterTest.java index 0b688ecf540..d6800bc31eb 100644 --- a/core/camel-core/src/test/java/org/apache/camel/converter/BasicEnumConverterTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/converter/BasicEnumConverterTest.java @@ -28,7 +28,7 @@ public class BasicEnumConverterTest { @Test public void testConvertFromString() { StatusCodeEnum code = converter.convertTo(StatusCodeEnum.class, "OK"); - assertEquals(code, StatusCodeEnum.OK, "String should be converted to corresponding Enum value"); + assertEquals(StatusCodeEnum.OK, code, "String should be converted to corresponding Enum value"); } @Test
