From d9c9634138bff067774d704c9ddcdb2578fab2bc Mon Sep 17 00:00:00 2001 From: "Anand Babu (AB) Periasamy" Date: Sun, 1 Mar 2015 15:28:42 -0800 Subject: [PATCH] removed custom Assert --- pkg/utils/helpers/common.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/utils/helpers/common.go b/pkg/utils/helpers/common.go index 65c1f1ee1..7974d0f09 100644 --- a/pkg/utils/helpers/common.go +++ b/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:]