helper/builder/testing: prune unused functions (#8852)

This commit is contained in:
Lars Lehtonen 2020-03-09 02:46:32 -07:00 committed by GitHub
parent 9e6c94e141
commit 74a94d8547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 16 deletions

View File

@ -70,19 +70,3 @@ func (t *mockT) Skip(args ...interface{}) {
t.SkipArgs = args
t.f = true
}
func (t *mockT) failed() bool {
return t.f
}
func (t *mockT) failMessage() string {
if t.FatalCalled {
return t.FatalArgs[0].(string)
} else if t.ErrorCalled {
return t.ErrorArgs[0].(string)
} else if t.SkipCalled {
return t.SkipArgs[0].(string)
}
return "unknown"
}