diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-08-31 00:38:12 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-08-31 00:38:12 +0000 |
commit | 18d7711806e356a94a91bd137beed6c716396491 (patch) | |
tree | 96cf3c757113b0af1544858a50c8aee6c4135018 /poi-ooxml/src | |
parent | ecfb35e0d9e0322e99ad1a81439865281bea403d (diff) | |
download | poi-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.java | 5 |
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()); } } } |