Skip to content

Commit

Permalink
fix skip condition
Browse files Browse the repository at this point in the history
Signed-off-by: suyanhanx <[email protected]>
  • Loading branch information
suyanhanx committed Jan 23, 2024
1 parent f5da9c9 commit c43efe5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assumptions.assumeTrue;

import java.util.Objects;
import java.util.UUID;
import org.apache.opendal.Capability;
import org.apache.opendal.OpenDALException;
Expand Down Expand Up @@ -65,7 +67,7 @@ public void testCopyFileWithAsciiName() {
@Test
public void testCopyFileWithNonAsciiName() {
// Services-koofr doesn't support non-ascii name (https://github.com/apache/opendal/issues/4051)
assumeTrue(op().info.scheme != "koofr", "Services-koofr doesn't support non-ascii name");
assumeTrue(!Objects.equals(op().info.scheme, "koofr"), "Services-koofr doesn't support non-ascii name");

final String sourcePath = "🐂🍺中文.docx";
final String targetPath = "😈🐅Français.docx";
Expand Down

0 comments on commit c43efe5

Please sign in to comment.