mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
fixed tests: all printed data is quoted
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user