PowerShell7/test/powershell/Get-Host.Tests.ps1
Andrew Schwartzmeyer bbebf2f76a Reorganize tests
- Pester source code moved to `test/Pester`, deleted `ext-src`.
- Pester tests (.ps1 files) moved to `test/powershell`
- xUnit tests (.cs files) moved to `test/csharp`
- Third-party script test moved to `test/shebang`
2016-01-14 17:00:06 -08:00

14 lines
261 B
PowerShell

Describe "Get-Host" {
It "Should return a type of InternalHost for Get-Host cmdlet" {
(Get-Host).GetType().Name | Should Be InternalHost
}
It "Should have $ host variable be equivalent to Get-Host object" {
Get-Host | Should Be $host
}
}