summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-stack/stack/format_test.go
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-08-08 00:19:33 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-08-08 00:19:33 +0200
commitfde18e485ff7cbc7b2e33dade8e81136f06a5b60 (patch)
tree79a6dbd13e7e4a46e708a70104c548f403b477ae /vendor/github.com/go-stack/stack/format_test.go
parent93e1de570f47b095905835735dbd67479aa0c2de (diff)
[pkg] remove vendor
Diffstat (limited to 'vendor/github.com/go-stack/stack/format_test.go')
-rw-r--r--vendor/github.com/go-stack/stack/format_test.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/vendor/github.com/go-stack/stack/format_test.go b/vendor/github.com/go-stack/stack/format_test.go
deleted file mode 100644
index 013ad67..0000000
--- a/vendor/github.com/go-stack/stack/format_test.go
+++ /dev/null
@@ -1,21 +0,0 @@
-// +build go1.2
-
-package stack_test
-
-import (
- "fmt"
-
- "github.com/go-stack/stack"
-)
-
-func Example_callFormat() {
- logCaller("%+s")
- logCaller("%v %[1]n()")
- // Output:
- // github.com/go-stack/stack/format_test.go
- // format_test.go:13 Example_callFormat()
-}
-
-func logCaller(format string) {
- fmt.Printf(format+"\n", stack.Caller(1))
-}