Remove unused code
This commit is contained in:
1 parent
00623be8a7
commit
df52117bfa
12 files changed
-100
No files matched your search
@@ -4,7 +4,6 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
"reflect"
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
@@ -29,12 +28,6 @@ func AssertErrorType(t *testing.T, expected interface{}, actual error, desc stri
|
||||
}
|
||||
}
|
||||
|
||||
func stackTrace(all bool) string {
|
||||
buf := make([]byte, 1<<20)
|
||||
stacklen := runtime.Stack(buf, all)
|
||||
return string(buf[:stacklen])
|
||||
}
|
||||
|
||||
// TrimTestArgs finds the first -- in os.Args and trim all args before
|
||||
// that, returning true when a -- was in fact found.
|
||||
func TrimTestArgs() bool {
|
||||
|
||||
Reference in new issue
Block a user