Move to go1.9.1 as default environment. (#5041)

This commit is contained in:
Bala FA
2017-10-09 22:23:59 -07:00
committed by Harshavardhana
parent 099b5293a9
commit d28b3d8801
5 changed files with 8 additions and 10 deletions

View File

@@ -28,9 +28,9 @@ func TestCheckGoVersion(t *testing.T) {
expectedErr error
}{
{minGoVersion, nil},
{"1.6.8", fmt.Errorf("Minio is not compiled by Go >= 1.8.3. Please recompile accordingly")},
{"1.5", fmt.Errorf("Minio is not compiled by Go >= 1.8.3. Please recompile accordingly")},
{"0.1", fmt.Errorf("Minio is not compiled by Go >= 1.8.3. Please recompile accordingly")},
{"1.6.8", fmt.Errorf("Minio is not compiled by Go >= 1.9.1. Please recompile accordingly")},
{"1.5", fmt.Errorf("Minio is not compiled by Go >= 1.9.1. Please recompile accordingly")},
{"0.1", fmt.Errorf("Minio is not compiled by Go >= 1.9.1. Please recompile accordingly")},
{".1", fmt.Errorf("Malformed version: .1")},
{"somejunk", fmt.Errorf("Malformed version: somejunk")},
}