diff --git a/tests/Argu.Tests/Tests.fs b/tests/Argu.Tests/Tests.fs index 88fc1a7f..3574bc3a 100644 --- a/tests/Argu.Tests/Tests.fs +++ b/tests/Argu.Tests/Tests.fs @@ -870,7 +870,7 @@ module ``Argu Tests Main List`` = [] 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 <@ parser.ParseCommandLine(args) @> + raisesWith <@ parser.ParseCommandLine args @> (fun e -> <@ e.FirstLine.Contains "ERROR: missing parameter '--valueb', '--valuec'" && e.Message.Contains $"USAGE: {parser.ProgramName} multiple-mandatories [--help] --valuea " @>)