Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
fpellet committed Mar 27, 2024
1 parent 9003891 commit ccf18eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Argu.Tests/Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ module ``Argu Tests Main List`` =
[<Fact>]
let ``Required subcommand attribute should fail on missing subcommand and display usage of subcommand and not main command`` () =
let args = [|"--mandatory-arg" ; "true" ; "multiple-mandatories" ; "--valuea"; "5"|]
raisesWith<ArguParseException> <@ parser.ParseCommandLine(args) @>
raisesWith<ArguParseException> <@ parser.ParseCommandLine args @>
(fun e -> <@ e.FirstLine.Contains "ERROR: missing parameter '--valueb', '--valuec'"
&& e.Message.Contains $"USAGE: {parser.ProgramName} multiple-mandatories [--help] --valuea <int>" @>)

Expand Down

0 comments on commit ccf18eb

Please sign in to comment.