include class of caught exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761654 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-09-21 01:14:26 +00:00
parent 3d953b0065
commit 8c2df4753f
1 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@ import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
@ -262,8 +263,8 @@ public class TestVBAMacroReader {
reader.close();
}
private void skipTest(Throwable e) {
assumeTrue("This test currently fails." + e.getLocalizedMessage(), false);
private static void skipTest(Throwable e) {
assumeTrue("This test currently fails with " + e, false);
}
// This test is written as expected-to-fail and should be rewritten