mirror of
https://github.com/minio/minio.git
synced 2025-11-24 03:27:44 -05:00
committed by
Nitish Tiwari
parent
52b159b1db
commit
bebaff269c
@@ -96,6 +96,7 @@ func TestHasEllipses(t *testing.T) {
|
||||
true,
|
||||
},
|
||||
{
|
||||
|
||||
[]string{
|
||||
"mydisk-{1...4}{1..2.}",
|
||||
},
|
||||
@@ -201,6 +202,11 @@ func TestFindEllipsesPatterns(t *testing.T) {
|
||||
false,
|
||||
0,
|
||||
},
|
||||
{
|
||||
"{f...z}",
|
||||
false,
|
||||
0,
|
||||
},
|
||||
// Test for valid input.
|
||||
{
|
||||
"{1...64}",
|
||||
@@ -222,6 +228,11 @@ func TestFindEllipsesPatterns(t *testing.T) {
|
||||
true,
|
||||
36,
|
||||
},
|
||||
{
|
||||
"{1...a}",
|
||||
true,
|
||||
10,
|
||||
},
|
||||
}
|
||||
|
||||
for i, testCase := range testCases {
|
||||
|
||||
Reference in New Issue
Block a user