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

xuanwo pushed a commit to branch xuanwo/fix-go-listprefix
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit a760ba392840e861f513c24bda5f0c6151db023c
Author: Xuanwo <[email protected]>
AuthorDate: Mon Dec 22 18:53:10 2025 +0800

    ci(bindings/go): Remove unexpected list preix tests
---
 bindings/go/tests/behavior_tests/list_test.go | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/bindings/go/tests/behavior_tests/list_test.go 
b/bindings/go/tests/behavior_tests/list_test.go
index d36c90775..1da3cf636 100644
--- a/bindings/go/tests/behavior_tests/list_test.go
+++ b/bindings/go/tests/behavior_tests/list_test.go
@@ -36,7 +36,6 @@ func testsList(cap *opendal.Capability) []behaviorTest {
        return []behaviorTest{
                testListCheck,
                testListDir,
-               testListPrefix,
                testListRichDir,
                testListEmptyDir,
                testListNonExistDir,
@@ -79,21 +78,6 @@ func testListDir(assert *require.Assertions, op 
*opendal.Operator, fixture *fixt
        assert.True(found, "file must be found in list")
 }
 
-func testListPrefix(assert *require.Assertions, op *opendal.Operator, fixture 
*fixture) {
-       path, content, _ := fixture.NewFile()
-
-       assert.Nil(op.Write(path, content), "write must succeed")
-
-       obs, err := op.List(path[:len(path)-1])
-       assert.Nil(err)
-       defer obs.Close()
-       assert.True(obs.Next())
-       assert.Nil(obs.Error())
-
-       entry := obs.Entry()
-       assert.Equal(path, entry.Path())
-}
-
 func testListRichDir(assert *require.Assertions, op *opendal.Operator, fixture 
*fixture) {
        parent := fixture.NewDirPath()
        assert.Nil(op.CreateDir(parent))

Reply via email to