added more granular unit-test for failing getType() output

This commit is contained in:
Zachary Folwick 2015-07-15 13:31:07 -07:00
parent 2b079b2cb9
commit 95dcc23bbb

View file

@ -4,7 +4,7 @@ $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
Describe "Get-Alias" {
It "should return an array of 3 objects" {
$val = Microsoft.PowerShell.Utility\Get-Alias a*
$val = Get-Alias a*
$val.CommandType | Should Not BeNullOrEmpty
$val.Name | Should Not BeNullOrEmpty
$val.ModuleName | Should BeNullOrEmpty