fixed tests: all printed data is quoted

This commit is contained in:
mpeterv
2014-01-25 12:46:42 +04:00
parent 23de82cab0
commit c0039106f3
5 changed files with 15 additions and 15 deletions

View File

@@ -88,7 +88,7 @@ describe("tests related to positional arguments", function()
local parser = argparse.parser()
parser:argument "foo"
assert.has_error(function() parser:parse{"-q"} end, "unknown option -q")
assert.has_error(function() parser:parse{"-q"} end, "unknown option '-q'")
end)
it("handles too few arguments with one argument correctly", function()