Force OPOIFS test to explicitly create OPOIFS instance

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1681802 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2015-05-26 17:59:13 +00:00
parent d617309024
commit f51479df57
1 changed files with 2 additions and 2 deletions

View File

@ -67,9 +67,9 @@ public final class TestFileSystemBugs extends TestCase {
if (openedFSs == null) openedFSs = new ArrayList<NPOIFSFileSystem>();
openedFSs.add(nfs);
POIFSFileSystem ofs = null;
OPOIFSFileSystem ofs = null;
try {
ofs = new POIFSFileSystem(inps[1]);
ofs = new OPOIFSFileSystem(inps[1]);
if (oldFails) fail("POIFSFileSystem should have failed but didn't");
} catch (Exception e) {
if (!oldFails) throw e;