Improved error message

Report '1 times' as '1 time'
This commit is contained in:
mpeterv
2014-02-23 16:58:27 +04:00
parent 5c82cb4c2e
commit aeacbeb589
2 changed files with 11 additions and 3 deletions

View File

@@ -243,7 +243,7 @@ describe("tests related to options", function()
count = 1,
overwrite = false
})
assert.has_error(function() parser:parse{"-qq"} end, "option '-q' must be used at most 1 times")
assert.has_error(function() parser:parse{"-qq"} end, "option '-q' must be used at most 1 time")
end)
it("handles too few invocations correctly", function()