format tests !deploy

This commit is contained in:
Kevin Marquette
2018-12-28 15:13:45 -08:00
parent f711775322
commit e00e0253cd

View File

@@ -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