removed custom Assert

master
Anand Babu (AB) Periasamy 10 years ago
parent 177121868b
commit d9c9634138
  1. 8
      pkg/utils/helpers/common.go

@ -18,7 +18,6 @@ package helpers
import (
"io/ioutil"
"log"
"strings"
)
@ -27,13 +26,6 @@ func MakeTempTestDir() (string, error) {
return ioutil.TempDir("/tmp", "minio-test-")
}
// Assert wrapper for error not being null
func Assert(err error) {
if err != nil {
log.Fatal(err)
}
}
// Camelcase input string
func FirstUpper(str string) string {
return strings.ToUpper(str[0:1]) + str[1:]

Loading…
Cancel
Save