Use const slashSeparator instead of "/" everywhere (#8028)
This commit is contained in:
@@ -148,7 +148,7 @@ func TestURL2BucketObjectName(t *testing.T) {
|
||||
// Test case 2 where url only has separator.
|
||||
{
|
||||
u: &url.URL{
|
||||
Path: "/",
|
||||
Path: SlashSeparator,
|
||||
},
|
||||
bucket: "",
|
||||
object: "",
|
||||
|
||||
Reference in New Issue
Block a user