OSDN Git Service

Thanos did someting
[bytom/vapor.git] / vendor / github.com / go-stack / stack / format_test.go
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 (file)
index 013ad67..0000000
+++ /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))
-}