aboutsummaryrefslogtreecommitdiffstats
path: root/poi-examples
diff options
context:
space:
mode:
authorMarius Volkhart <mariusvolkhart@apache.org>2021-10-01 12:31:09 +0000
committerMarius Volkhart <mariusvolkhart@apache.org>2021-10-01 12:31:09 +0000
commit45f94fe29dfd15b93cb21b17442f17c4bfc79af2 (patch)
tree3a6fbaf306e8d04a69293e2913a9ad073f523799 /poi-examples
parent227c04bc9236c3961d6cfb52b81c6d966415f1b9 (diff)
downloadpoi-45f94fe29dfd15b93cb21b17442f17c4bfc79af2.tar.gz
poi-45f94fe29dfd15b93cb21b17442f17c4bfc79af2.zip
Fix expected/actual order in assertEquals
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893781 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-examples')
-rw-r--r--poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java2
1 files changed, 1 insertions, 1 deletions
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);