aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml/src/test/java
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2023-06-08 15:54:50 +0000
committerDominik Stadler <centic@apache.org>2023-06-08 15:54:50 +0000
commit0dc3d6e479d680b754cce4249785dc55ba497b96 (patch)
tree642760981b43ff248e5ab439f88b0e6f809eaf14 /poi-ooxml/src/test/java
parent6442dccab931efa6c29a5c40fb74a427e67bfcb2 (diff)
downloadpoi-0dc3d6e479d680b754cce4249785dc55ba497b96.tar.gz
poi-0dc3d6e479d680b754cce4249785dc55ba497b96.zip
Need to lower the min expected width after changes for bug 66632
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910309 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/src/test/java')
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFSheetAutoSizeColumn.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFSheetAutoSizeColumn.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFSheetAutoSizeColumn.java
index 6fbfc58ca8..629ebecc44 100644
--- a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFSheetAutoSizeColumn.java
+++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFSheetAutoSizeColumn.java
@@ -210,7 +210,7 @@ class TestSXSSFSheetAutoSizeColumn {
final int maxExpectedWidth = expectedWidth * 3 / 2;
assertColumnWidthStrictlyWithinRange(sheet.getColumnWidth(0), minExpectedWidth, maxExpectedWidth); //short
} else {
- assertColumnWidthStrictlyWithinRange(sheet.getColumnWidth(0), 1000, MAX_COLUMN_WIDTH); //long
+ assertColumnWidthStrictlyWithinRange(sheet.getColumnWidth(0), 950, MAX_COLUMN_WIDTH); //long
}
assertColumnWidthStrictlyWithinRange(sheet.getColumnWidth(1), 0, COLUMN_WIDTH_THRESHOLD_BETWEEN_SHORT_AND_LONG); //short
}