aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml/src/test
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2024-07-01 22:50:04 +0000
committerPJ Fanning <fanningpj@apache.org>2024-07-01 22:50:04 +0000
commit8a37350e9497b56807e432cac7974f18957bda8b (patch)
tree138be4071882fc8ea4fcd5d0fad38a5ad04da536 /poi-ooxml/src/test
parent03b0742ad33783ec5e283467ea0993987e83f84a (diff)
downloadpoi-8a37350e9497b56807e432cac7974f18957bda8b.tar.gz
poi-8a37350e9497b56807e432cac7974f18957bda8b.zip
rename file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/src/test')
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java
index 854798f16f..78c0eb1796 100644
--- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java
+++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java
@@ -1451,7 +1451,7 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook {
@Test
void testDuplicateFileReadAsOPCFile() {
assertThrows(InvalidFormatException.class, () -> {
- try (OPCPackage pkg = OPCPackage.open(getSampleFile("duplicate-file.xlsx"), PackageAccess.READ)) {
+ try (OPCPackage pkg = OPCPackage.open(getSampleFile("duplicate-filename.xlsx"), PackageAccess.READ)) {
// expect exception here
}
});
@@ -1460,7 +1460,7 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook {
@Test
void testDuplicateFileReadAsFile() {
assertThrows(InvalidFormatException.class, () -> {
- try (XSSFWorkbook wb = new XSSFWorkbook(getSampleFile("duplicate-file.xlsx"))) {
+ try (XSSFWorkbook wb = new XSSFWorkbook(getSampleFile("duplicate-filename.xlsx"))) {
// expect exception here
}
});
@@ -1469,7 +1469,7 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook {
@Test
void testDuplicateFileReadAsStream() {
assertThrows(InvalidZipException.class, () -> {
- try (XSSFWorkbook wb = new XSSFWorkbook(openSampleFileStream("duplicate-file.xlsx"))) {
+ try (XSSFWorkbook wb = new XSSFWorkbook(openSampleFileStream("duplicate-filename.xlsx"))) {
// expect exception here
}
});