Explorar o código

Cleanup errorOut remove errorOut functions

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Jessica Frazelle %!s(int64=10) %!d(string=hai) anos
pai
achega
5af7facf18
Modificáronse 1 ficheiros con 0 adicións e 13 borrados
  1. 0 13
      integration-cli/utils.go

+ 0 - 13
integration-cli/utils.go

@@ -13,7 +13,6 @@ import (
 	"reflect"
 	"reflect"
 	"strings"
 	"strings"
 	"syscall"
 	"syscall"
-	"testing"
 	"time"
 	"time"
 
 
 	"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
 	"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
@@ -113,18 +112,6 @@ func stripTrailingCharacters(target string) string {
 	return target
 	return target
 }
 }
 
 
-func errorOut(err error, t *testing.T, message string) {
-	if err != nil {
-		t.Fatal(message)
-	}
-}
-
-func errorOutOnNonNilError(err error, t *testing.T, message string) {
-	if err == nil {
-		t.Fatalf(message)
-	}
-}
-
 func nLines(s string) int {
 func nLines(s string) int {
 	return strings.Count(s, "\n")
 	return strings.Count(s, "\n")
 }
 }