From: Dominik Stadler Date: Mon, 26 Nov 2018 06:28:17 +0000 (+0000) Subject: Fix TestFileMagic X-Git-Tag: REL_4_0_1^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2f6911a8ae3dd89f33d4099004345072c66b38a7;p=poi.git Fix TestFileMagic git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847454 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java b/src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java index 6587547b95..4dba721b1f 100644 --- a/src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java +++ b/src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java @@ -17,6 +17,7 @@ package org.apache.poi.poifs.filesystem; +import org.apache.commons.codec.Charsets; import org.apache.poi.POIDataSamples; import org.junit.Test; @@ -31,12 +32,12 @@ public class TestFileMagic { @Test public void testFileMagic() { assertEquals(FileMagic.XML, FileMagic.valueOf("XML")); - assertEquals(FileMagic.XML, FileMagic.valueOf("