Skip to content

Commit fa01201

Browse files
Add type assertion for IPConfig results in Net.Tests.ps1
1 parent 48b337e commit fa01201

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/Net.Tests.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ Describe 'Net' {
2626
LogGroup 'Results' {
2727
Write-Host "$($results | Out-String)"
2828
}
29+
$results | Should -BeOfType 'IPConfig'
2930
}
3031

3132
It 'IPConfig alias works' {
3233
$results = IPConfig
3334
LogGroup 'Results' {
3435
Write-Host "$($results | Format-List | Out-String)"
3536
}
37+
$results | Should -BeOfType 'IPConfig'
3638
}
3739
}
3840
}

0 commit comments

Comments
 (0)