Support IPv6 in minio command line (#6947)

Fixes #6946
This commit is contained in:
Harshavardhana
2018-12-13 23:37:46 -08:00
committed by Nitish Tiwari
parent 52b159b1db
commit bebaff269c
16 changed files with 273 additions and 77 deletions

View File

@@ -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 {