Skip to content

Commit d21c522

Browse files
committed
poll: fix printf: non-constant format string in call (govet)
poll/poll.go:154:18: printf: non-constant format string in call to gotest.tools/v3/poll.Continue (govet) return Continue(buf.String()) ^ Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 5500d15 commit d21c522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

poll/poll.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func Compare(compare cmp.Comparison) Result {
151151
if assert.RunComparison(buf, assert.ArgsAtZeroIndex, compare) {
152152
return Success()
153153
}
154-
return Continue(buf.String())
154+
return Continue("%v", buf.String())
155155
}
156156

157157
type logBuffer struct {

0 commit comments

Comments
 (0)