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 | out-host
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
|
||||
$sut | out-host
|
||||
. "$here\$sut"
|
||||
|
||||
|
||||
Describe "Get-HelloWorld" {
|
||||
It "outputs 'Hello world!'" {
|
||||
Get-HelloWorld | Should Be 'Hello world!'
|
||||
It "outputs 'HelloWorld!'" {
|
||||
Get-HelloWorld | Should Be 'HelloWorld!'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
function Get-HelloWorld {
|
||||
'Hello world!'
|
||||
}
|
||||
function Get-HelloWorld{
|
||||
'HelloWorld!'
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
function test-Get-Alias{
|
||||
return Get-Alias a*
|
||||
}
|
Loading…
Reference in a new issue