Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pkg/testutils/lint/passes/fmtsafe/fmtsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,7 @@ func checkCallExpr(pass *analysis.Pass, enclosingFnName string, call *ast.CallEx
return
}

pass.Reportf(call.Lparen, escNl("%s() [calling %s]: %s argument is not a constant expression"+Tip),
enclosingFnName, fnName, argType)
pass.Reportf(call.Lparen, escNl("%s(): %s argument is not a constant expression"+Tip), enclosingFnName, argType)
}

// Tip is exported for use in tests.
Expand Down