Fix tests broken due to change in help flag order

This commit is contained in:
Paul Ouellette
2019-05-24 22:48:27 -04:00
parent 6e3c4d5305
commit 55acc1689c
3 changed files with 78 additions and 78 deletions

View File

@@ -320,7 +320,7 @@ Usage: foo ([--opt1 <opt1>] | [--opt3 <opt3>] | [--opt5 <opt5>])
:args "*"
assert.equals([=[
Usage: foo [--set-important-property <set_important_property>] [-h]
Usage: foo [-h] [--set-important-property <set_important_property>]
<long_argument_name> <very_long_words> [--include [<include>] ...]]=], parser:get_usage())
end)
@@ -336,9 +336,9 @@ Usage: foo [--set-important-property <set_important_property>] [-h]
:args "*"
assert.equals([=[
Usage: foo
Usage: foo [-h]
[--set-important-property <set_important_property>]
[-h] <long_argument_name> <very_long_words>
<long_argument_name> <very_long_words>
[--include [<include>] ...]]=], parser:get_usage())
end)
end)