Skip to content

Commit

Permalink
chore: unnecessary use of fmt.Sprintf (#1230)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill committed Jun 28, 2023
1 parent e10fb0a commit d86a334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ func (g ginkgoErrors) InvalidEntryDescription(cl CodeLocation) error {

func (g ginkgoErrors) MissingParametersForTableFunction(cl CodeLocation) error {
return GinkgoError{
Heading: fmt.Sprintf("No parameters have been passed to the Table Function"),
Message: fmt.Sprintf("The Table Function expected at least 1 parameter"),
Heading: "No parameters have been passed to the Table Function",
Message: "The Table Function expected at least 1 parameter",
CodeLocation: cl,
DocLink: "table-specs",
}
Expand Down

0 comments on commit d86a334

Please sign in to comment.