mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Merge pull request #878 from PowerShell/GetHostUT
Add Unit Test for Get-Host
This commit is contained in:
commit
6c098b84e2
1 file changed
+8
@@ -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" {
|
Describe "Get-Host" {
|
||||||
It "Should return a type of InternalHost for Get-Host cmdlet" {
|
It "Should return a type of InternalHost for Get-Host cmdlet" {
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user