From 2f6911a8ae3dd89f33d4099004345072c66b38a7 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Mon, 26 Nov 2018 06:28:17 +0000 Subject: [PATCH] Fix TestFileMagic git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847454 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/poifs/filesystem/TestFileMagic.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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("