removed custom Assert

This commit is contained in:
Anand Babu (AB) Periasamy 2015-03-01 15:28:42 -08:00
parent 177121868b
commit d9c9634138

View File

@ -18,7 +18,6 @@ package helpers
import ( import (
"io/ioutil" "io/ioutil"
"log"
"strings" "strings"
) )
@ -27,13 +26,6 @@ func MakeTempTestDir() (string, error) {
return ioutil.TempDir("/tmp", "minio-test-") 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 // Camelcase input string
func FirstUpper(str string) string { func FirstUpper(str string) string {
return strings.ToUpper(str[0:1]) + str[1:] return strings.ToUpper(str[0:1]) + str[1:]