aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java b/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
index 6693a52275..41d2ea1754 100644
--- a/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
+++ b/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
@@ -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