deleted test-Get-Alias.ps1
This commit is contained in:
parent
028021ef44
commit
a186934c55
|
@ -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!'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
function Get-HelloWorld {
|
function Get-HelloWorld{
|
||||||
'Hello world!'
|
'HelloWorld!'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
function test-Get-Alias{
|
|
||||||
return Get-Alias a*
|
|
||||||
}
|
|
Loading…
Reference in a new issue