aboutsummaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
Diffstat (limited to 'poi')
-rw-r--r--poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java b/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java
index ebc34f53bb..00076995d9 100644
--- a/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java
+++ b/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java
@@ -284,6 +284,11 @@ final class TestSheetUtil {
}
@Test
+ void testDefaultIgnoreMissingFontSystem() {
+ assertTrue(SheetUtil.isIgnoreMissingFontSystem());
+ }
+
+ @Test
void testGetCharWidthWithIgnoreEnabled() throws IOException {
boolean previous = SheetUtil.isIgnoreMissingFontSystem();
SheetUtil.setIgnoreMissingFontSystem(true);