deleted test-Get-Alias.ps1

This commit is contained in:
Zachary Folwick 2015-07-15 11:39:14 -07:00
parent 028021ef44
commit a186934c55
3 changed files with 8 additions and 15 deletions

View file

@ -1,13 +1,9 @@
"starting test script" | out-host $here = Split-Path -Parent $MyInvocation.MyCommand.Path
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$here | out-host
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
$sut | out-host
. "$here\$sut" . "$here\$sut"
Describe "Get-HelloWorld" { Describe "Get-HelloWorld" {
It "outputs 'Hello world!'" { It "outputs 'HelloWorld!'" {
Get-HelloWorld | Should Be 'Hello world!' Get-HelloWorld | Should Be 'HelloWorld!'
} }
} }

View file

@ -1,3 +1,3 @@
function Get-HelloWorld { function Get-HelloWorld{
'Hello world!' 'HelloWorld!'
} }

View file

@ -1,3 +0,0 @@
function test-Get-Alias{
return Get-Alias a*
}