aboutsummaryrefslogtreecommitdiffstats
path: root/logger/glog/glog_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-04-15 16:58:41 +0800
committerFelix Lange <fjl@twurst.com>2016-04-15 16:58:41 +0800
commitebf3cf8f7dca0f2885a2215510715a06a8ee69c8 (patch)
treeb4020464717e9d5848ffe3da59014524d565807b /logger/glog/glog_test.go
parent24cdac41f34b37145c89572712db0854dd411110 (diff)
downloaddexon-ebf3cf8f7dca0f2885a2215510715a06a8ee69c8.tar.gz
dexon-ebf3cf8f7dca0f2885a2215510715a06a8ee69c8.tar.zst
dexon-ebf3cf8f7dca0f2885a2215510715a06a8ee69c8.zip
logger/glog: fix go vet issues
logging.printf triggered a format string warning. Silence it by renaming the function.
Diffstat (limited to 'logger/glog/glog_test.go')
-rw-r--r--logger/glog/glog_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger/glog/glog_test.go b/logger/glog/glog_test.go
index 30861a48d..b58f3d642 100644
--- a/logger/glog/glog_test.go
+++ b/logger/glog/glog_test.go
@@ -300,7 +300,7 @@ func TestCompileModulePattern(t *testing.T) {
for _, test := range patternTests {
re, err := compileModulePattern(test.input)
if err != nil {
- t.Fatalf("%s: %v", err)
+ t.Fatalf("%s: %v", test.input, err)
}
if re.String() != test.want {
t.Errorf("mismatch for %q: got %q, want %q", test.input, re.String(), test.want)