mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
committed by
Harshavardhana
parent
43539a0c86
commit
d267696110
@@ -90,6 +90,8 @@ func TestIsValidObjectName(t *testing.T) {
|
||||
// cases for which test should fail.
|
||||
// passing invalid object names.
|
||||
{"", false},
|
||||
{"a/b/c/", false},
|
||||
{"/a/b/c", false},
|
||||
{string([]byte{0xff, 0xfe, 0xfd}), false},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user