format tests !deploy
This commit is contained in:
@@ -13,9 +13,9 @@ Describe "Function: Get-Chronometer" -Tag Build {
|
|||||||
It "Executes a script with line numbers and gives results" {
|
It "Executes a script with line numbers and gives results" {
|
||||||
# Get-Chronometer -Path ScratchFiles\example.ps1 -Script {"Test"}
|
# Get-Chronometer -Path ScratchFiles\example.ps1 -Script {"Test"}
|
||||||
$params = @{
|
$params = @{
|
||||||
Path = "$PSScriptRoot\..\ScratchFiles\example.ps1"
|
Path = "$PSScriptRoot\..\ScratchFiles\example.ps1"
|
||||||
Script = {. "$PSScriptRoot\..\ScratchFiles\example.ps1"}
|
Script = {. "$PSScriptRoot\..\ScratchFiles\example.ps1"}
|
||||||
LineNumber = 2,3,5,6
|
LineNumber = 2, 3, 5, 6
|
||||||
}
|
}
|
||||||
$results = Get-Chronometer @params
|
$results = Get-Chronometer @params
|
||||||
$results | Should Not BeNullOrEmpty
|
$results | Should Not BeNullOrEmpty
|
||||||
|
|||||||
Reference in New Issue
Block a user