logger/glog: fix go vet issues

logging.printf triggered a format string warning. Silence it
by renaming the function.
This commit is contained in:
Felix Lange
2016-04-15 10:58:41 +02:00
parent 24cdac41f3
commit ebf3cf8f7d
2 changed files with 9 additions and 9 deletions

View File

@ -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)