mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Add Unit Test for Get-Host
This commit is contained in:
1 parent
92ac20f83b
commit
717608bb69
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" {
|
||||
It "Should return a type of InternalHost for Get-Host cmdlet" {
|
||||
|
||||
|
||||
Reference in new issue
Block a user