Skip to content

Commit

Permalink
poll: fix printf: non-constant format string in call (govet)
Browse files Browse the repository at this point in the history
    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 <github@gone.nl>
  • Loading branch information
thaJeztah committed Aug 28, 2024
1 parent 5500d15 commit d21c522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poll/poll.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func Compare(compare cmp.Comparison) Result {
if assert.RunComparison(buf, assert.ArgsAtZeroIndex, compare) {
return Success()
}
return Continue(buf.String())
return Continue("%v", buf.String())
}

type logBuffer struct {
Expand Down

0 comments on commit d21c522

Please sign in to comment.