mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Use const slashSeparator instead of "/" everywhere (#8028)
This commit is contained in:
@@ -35,12 +35,12 @@ func TestRedirectLocation(t *testing.T) {
|
||||
{
|
||||
// 1. When urlPath is '/minio'
|
||||
urlPath: minioReservedBucketPath,
|
||||
location: minioReservedBucketPath + "/",
|
||||
location: minioReservedBucketPath + SlashSeparator,
|
||||
},
|
||||
{
|
||||
// 2. When urlPath is '/'
|
||||
urlPath: "/",
|
||||
location: minioReservedBucketPath + "/",
|
||||
urlPath: SlashSeparator,
|
||||
location: minioReservedBucketPath + SlashSeparator,
|
||||
},
|
||||
{
|
||||
// 3. When urlPath is '/webrpc'
|
||||
|
||||
Reference in New Issue
Block a user