Skip to content

Commit

Permalink
Fix tests with respect to removal of "exit" parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
atifaziz committed Sep 5, 2021
1 parent fa0c013 commit 783d813
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public partial class Program
public Program(IList<string> argv)
{
var arguments = ProgramArguments.Apply(argv, help: true, version: null, optionsFirst: false, exit: false);
var arguments = ProgramArguments.Apply(argv, help: true, version: null, optionsFirst: false);
var dict = new Dictionary<string, object>();
foreach (var (name, value) in arguments)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public T Run<T>(DocoptOptions options, Func<IDictionary, T> selector, params str
{
argv,
options.Help, options.Version,
options.OptionsFirst, options.Exit
options.OptionsFirst
})!;
Assert.That(args, Is.Not.Null);
return selector(args.ToDictionary(e => e.Key, e => e.Value));
Expand Down

0 comments on commit 783d813

Please sign in to comment.