Skip to content

Commit 9c87891

Browse files
committed
e2e/global: fix n-constant format string in call (govet)
e2e/global/cli_test.go:217:28: printf: non-constant format string in call to gotest.tools/v3/poll.Continue (govet) return poll.Continue(err.Error()) ^ Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent f101f07 commit 9c87891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/global/cli_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ func TestPromptExitCode(t *testing.T) {
214214
default:
215215

216216
if err := bufioWriter.Flush(); err != nil {
217-
return poll.Continue(err.Error())
217+
return poll.Continue("%v", err)
218218
}
219219
if strings.Contains(buf.String(), "[y/N]") {
220220
return poll.Success()

0 commit comments

Comments
 (0)