You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by gx...@apache.org on 2023/12/06 07:36:25 UTC

(incubator-opendal) 01/01: test(binding/java): fix SPECIAL_DIR_NAME

This is an automated email from the ASF dual-hosted git repository.

gxd pushed a commit to branch fix_java_test
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit e9172edb626ef664e1d7c4175e9c2d26ea6f4ef9
Author: G-XD <GX...@gmail.com>
AuthorDate: Wed Dec 6 15:34:16 2023 +0800

    test(binding/java): fix SPECIAL_DIR_NAME
---
 .../test/java/org/apache/opendal/test/behavior/AsyncReadOnlyTest.java   | 2 +-
 .../java/org/apache/opendal/test/behavior/BlockingReadOnlyTest.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bindings/java/src/test/java/org/apache/opendal/test/behavior/AsyncReadOnlyTest.java b/bindings/java/src/test/java/org/apache/opendal/test/behavior/AsyncReadOnlyTest.java
index 579b4b995..c14c40ee8 100644
--- a/bindings/java/src/test/java/org/apache/opendal/test/behavior/AsyncReadOnlyTest.java
+++ b/bindings/java/src/test/java/org/apache/opendal/test/behavior/AsyncReadOnlyTest.java
@@ -39,7 +39,7 @@ public class AsyncReadOnlyTest extends BehaviorTestBase {
     private static final String NORMAL_FILE_NAME = "normal_file.txt";
     private static final String NORMAL_DIR_NAME = "normal_dir/";
     private static final String SPECIAL_FILE_NAME = "special_file  !@#$%^&()_+-=;',.txt";
-    private static final String SPECIAL_DIR_NAME = "special_dir  !@#$%^&()_+-=;',./";
+    private static final String SPECIAL_DIR_NAME = "special_dir  !@#$%^&()_+-=;',/";
     private static final String FILE_SHA256_DIGEST = "943048ba817cdcd786db07d1f42d5500da7d10541c2f9353352cd2d3f66617e5";
     private static final long FILE_LENGTH = 30482L;
 
diff --git a/bindings/java/src/test/java/org/apache/opendal/test/behavior/BlockingReadOnlyTest.java b/bindings/java/src/test/java/org/apache/opendal/test/behavior/BlockingReadOnlyTest.java
index 149bd3428..444dacf98 100644
--- a/bindings/java/src/test/java/org/apache/opendal/test/behavior/BlockingReadOnlyTest.java
+++ b/bindings/java/src/test/java/org/apache/opendal/test/behavior/BlockingReadOnlyTest.java
@@ -39,7 +39,7 @@ public class BlockingReadOnlyTest extends BehaviorTestBase {
     private static final String NORMAL_FILE_NAME = "normal_file.txt";
     private static final String NORMAL_DIR_NAME = "normal_dir/";
     private static final String SPECIAL_FILE_NAME = "special_file  !@#$%^&()_+-=;',.txt";
-    private static final String SPECIAL_DIR_NAME = "special_dir  !@#$%^&()_+-=;',./";
+    private static final String SPECIAL_DIR_NAME = "special_dir  !@#$%^&()_+-=;',/";
     private static final String FILE_SHA256_DIGEST = "943048ba817cdcd786db07d1f42d5500da7d10541c2f9353352cd2d3f66617e5";
     private static final long FILE_LENGTH = 30482L;