From 95dcc23bbbd0906c479ff3161c0b2c280088e2a8 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Wed, 15 Jul 2015 13:31:07 -0700 Subject: [PATCH] added more granular unit-test for failing getType() output --- src/pester-tests/Test-Get-Alias.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pester-tests/Test-Get-Alias.Tests.ps1 b/src/pester-tests/Test-Get-Alias.Tests.ps1 index f7f67a5d1..dccc71f27 100644 --- a/src/pester-tests/Test-Get-Alias.Tests.ps1 +++ b/src/pester-tests/Test-Get-Alias.Tests.ps1 @@ -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