Skip to content

Commit 6c1082c

Browse files
committed
Fix variadic formatting in msg whitebox test
1 parent f259330 commit 6c1082c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/msg/msg_whitebox_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func TestFatalInfoOnFalse(t *testing.T) {
2121
var e []string
2222
logFatalf = func(format string, args ...interface{}) {
2323
if len(args) > 0 {
24-
e = append(e, fmt.Sprintf(format, args))
24+
e = append(e, fmt.Sprintf(format, args...))
2525
} else {
2626
e = append(e, format)
2727
}

0 commit comments

Comments
 (0)