fix pester syntax
This commit is contained in:
parent
e2af175b9f
commit
793035fa47
@ -25,15 +25,14 @@ Describe "Test-ChallengeFile" {
|
|||||||
It "No parameter and existing file should return true" {
|
It "No parameter and existing file should return true" {
|
||||||
Test-ChallengeFile | Should -Be $true
|
Test-ChallengeFile | Should -Be $true
|
||||||
}
|
}
|
||||||
Context "Execute with parameter" {
|
}
|
||||||
$TestChFile = "{0}\resources\Challenge.bin" -f $RepoRoot
|
Context "Execute with parameter" {
|
||||||
It "Provide valid path" {
|
$TestChFile = "{0}\resources\Challenge.bin" -f $RepoRoot
|
||||||
Test-ChallengeFile -Path $TestChFile | Should -Be $true
|
It "Provide valid path" {
|
||||||
}
|
Test-ChallengeFile -Path $TestChFile | Should -Be $true
|
||||||
It "Provide fake path" {
|
}
|
||||||
Test-ChallengeFile -Path "C:\notexisting.bin" | Should -Be $false
|
It "Provide fake path" {
|
||||||
}
|
Test-ChallengeFile -Path "C:\notexisting.bin" | Should -Be $false
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user