aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml/src
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-08-31 00:38:12 +0000
committerPJ Fanning <fanningpj@apache.org>2022-08-31 00:38:12 +0000
commit18d7711806e356a94a91bd137beed6c716396491 (patch)
tree96cf3c757113b0af1544858a50c8aee6c4135018 /poi-ooxml/src
parentecfb35e0d9e0322e99ad1a81439865281bea403d (diff)
downloadpoi-18d7711806e356a94a91bd137beed6c716396491.tar.gz
poi-18d7711806e356a94a91bd137beed6c716396491.zip
try to fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903784 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/src')
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java b/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java
index cad6cd12f8..4a82546a45 100644
--- a/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java
+++ b/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java
@@ -176,8 +176,9 @@ class TestXWPFBugs {
POIFSFileSystem poifs = new POIFSFileSystem(partStream)
) {
Ole10Native ole = Ole10Native.createFromEmbeddedOleObject(poifs);
- assertEquals("C:\\Users\\ross\\AppData\\Local\\Microsoft\\Windows\\INetCache\\Content.Word\\約翰的測試文件\uD83D\uDD96.msg",
- ole.getFileName());
+ String fn = "C:\\Users\\ross\\AppData\\Local\\Microsoft\\Windows\\INetCache\\Content.Word\\約翰的測試文件\uD83D\uDD96.msg";
+ assertEquals(fn, ole.getFileName());
+ assertEquals(fn, ole.getFileName2());
}
}
}