13 lines
389 B
PowerShell
13 lines
389 B
PowerShell
BeforeAll {
|
|
$script:temporarySshPath = "$PSScriptRoot/../tools/TemporarySsh.ps1"
|
|
}
|
|
|
|
Describe 'Temporary SSH helper' {
|
|
It 'parses under the PowerShell language parser' {
|
|
$tokens = $null
|
|
$errors = $null
|
|
[void][System.Management.Automation.Language.Parser]::ParseFile($temporarySshPath, [ref]$tokens, [ref]$errors)
|
|
$errors.Count | Should -Be 0
|
|
}
|
|
}
|