mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Merge pull request #878 from PowerShell/GetHostUT
Add Unit Test for Get-Host
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
Describe "Get-Host DRT Unit Tests" -Tags DRT{
|
||||
It "Should works proper with get-host" {
|
||||
$results = Get-Host
|
||||
$results | Should Be $Host
|
||||
$results.GetType().Name | Should Be InternalHost
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Get-Host" {
|
||||
It "Should return a type of InternalHost for Get-Host cmdlet" {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user