Skip to content

Commit

Permalink
Update configuration option description
Browse files Browse the repository at this point in the history
  • Loading branch information
fflaten committed Jul 9, 2024
1 parent a365340 commit b7e224c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/csharp/Pester/RunConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public RunConfiguration(IDictionary configuration) : this()
PassThru = new BoolOption("Return result object to the pipeline after finishing the test run.", false);
SkipRun = new BoolOption("Runs the discovery phase but skips run. Use it with PassThru to get object populated with all tests.", false);
SkipRemainingOnFailure = new StringOption("Skips remaining tests after failure for selected scope, options are None, Run, Container and Block.", "None");
FailOnNullOrEmptyForEach = new BoolOption("Fails the block or test when -ForEach is provided `$null or @(). Can be overriden using -AllowNullOrEmptyForEach on a specific block or test.", true);
FailOnNullOrEmptyForEach = new BoolOption("Fails discovery when -ForEach is provided $null or @() in a block or test. Can be overriden for a specific Describe/Context/It using -AllowNullOrEmptyForEach.", true);
}

public StringArrayOption Path
Expand Down
2 changes: 1 addition & 1 deletion src/en-US/about_PesterConfiguration.help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ SECTIONS AND OPTIONS
Type: string
Default value: 'None'

FailOnNullOrEmptyForEach: Fails the block or test when -ForEach is provided `$null or @(). Can be overriden using -AllowNullOrEmptyForEach on a specific block or test.
FailOnNullOrEmptyForEach: Fails discovery when -ForEach is provided $null or @() in a block or test. Can be overriden for a specific Describe/Context/It using -AllowNullOrEmptyForEach.
Type: bool
Default value: $true

Expand Down

0 comments on commit b7e224c

Please sign in to comment.