From 45f94fe29dfd15b93cb21b17442f17c4bfc79af2 Mon Sep 17 00:00:00 2001 From: Marius Volkhart Date: Fri, 1 Oct 2021 12:31:09 +0000 Subject: [PATCH] Fix expected/actual order in assertEquals git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893781 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/org/apache/poi/integration/TestXLSX2CSV.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java b/poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java index bc9ab4491e..d0bd16f782 100644 --- a/poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java +++ b/poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java @@ -87,7 +87,7 @@ public class TestXLSX2CSV { } String errorOutput = errorBytes.toString(StandardCharsets.UTF_8); - assertEquals(errorOutput.length(), 0); + assertEquals(0, errorOutput.length()); String output = outputBytes.toString(StandardCharsets.UTF_8); assertTrue(output.contains("\"Lorem\",111"), "Had: " + output);