From 5e8edcf3b5c8bd3ae9bc285c4b1a9e6975a2b07b Mon Sep 17 00:00:00 2001 From: Martin Thielecke Date: Sat, 22 Aug 2015 22:12:56 +0000 Subject: [PATCH] [main] fixed message --- githook-gotest/hook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/githook-gotest/hook.go b/githook-gotest/hook.go index ee41eb7..9b521f6 100644 --- a/githook-gotest/hook.go +++ b/githook-gotest/hook.go @@ -18,7 +18,7 @@ func main() { result, status := general.RunCommand("go", "test", "-test.short", "./...") if status != 0 { - fmt.Fprint(os.Stderr, "Test failed, please commit only stuff that works.\n%s", result) + fmt.Fprintf(os.Stderr, "Test failed, please commit only stuff that works.\n%s", result) os.Exit(1) return }