mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Remove duplicate test
This commit is contained in:
@@ -7,15 +7,6 @@ describe("tests related to help message generation", function()
|
|||||||
assert.equal([[
|
assert.equal([[
|
||||||
Usage: foo [-h]
|
Usage: foo [-h]
|
||||||
|
|
||||||
Options:
|
|
||||||
-h, --help Show this help message and exit.]], parser:get_help())
|
|
||||||
end)
|
|
||||||
|
|
||||||
it("does not create extra help options when :prepare is called several times", function()
|
|
||||||
local parser = Parser "foo"
|
|
||||||
assert.equal([[
|
|
||||||
Usage: foo [-h]
|
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h, --help Show this help message and exit.]], parser:get_help())
|
-h, --help Show this help message and exit.]], parser:get_help())
|
||||||
end)
|
end)
|
||||||
|
Reference in New Issue
Block a user