Skip to content

Commit

Permalink
fix(returned_args): proper message (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske authored Nov 7, 2024
1 parent 2be28cb commit 8b5fd81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/languages/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ s:set("assertion.called_with.negative", "Function was called with matching argum
s:set("assertion.returned_with.positive", "Function never returned matching arguments.\nReturned (last call if any):\n%s\nExpected:\n%s")
s:set("assertion.returned_with.negative", "Function returned matching arguments at least once.\nReturned (last matching call):\n%s\nDid not expect:\n%s")

s:set("assertion.returned_arguments.positive", "Expected to be called with %s argument(s), but was called with %s")
s:set("assertion.returned_arguments.negative", "Expected not to be called with %s argument(s), but was called with %s")
s:set("assertion.returned_arguments.positive", "Expected %s results(s) to be returned, but got %s")
s:set("assertion.returned_arguments.negative", "Expected not %s results(s) to be returned, but got %s")

-- errors
s:set("assertion.internal.argtolittle", "the '%s' function requires a minimum of %s arguments, got: %s")
Expand Down

0 comments on commit 8b5fd81

Please sign in to comment.