Skip to content

Commit

Permalink
Make StartLine mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Sep 2, 2020
1 parent 1cb66b0 commit 235cfee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Pester.Runtime.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ function New-Test {
[String] $Name,
[Parameter(Mandatory = $true, Position = 1)]
[ScriptBlock] $ScriptBlock,
[Parameter(Mandatory = $true)]
[int] $StartLine,
[String[]] $Tag = @(),
[System.Collections.IDictionary] $Data = @{ },
Expand Down

0 comments on commit 235cfee

Please sign in to comment.