Cleanup errorOut remove errorOut functions

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
This commit is contained in:
Jessica Frazelle 2014-10-14 15:11:21 -07:00
parent 66ac7420a9
commit 5af7facf18
1 changed files with 0 additions and 13 deletions

View File

@ -13,7 +13,6 @@ import (
"reflect"
"strings"
"syscall"
"testing"
"time"
"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
}
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 {
return strings.Count(s, "\n")
}