mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
re-pin to pester fixes, added pester hello world test
This commit is contained in:
+1
-1
Submodule ext-src/pester updated: b26b3cc936...941efb9fbf
@@ -0,0 +1,13 @@
|
||||
"starting test script" | out-host
|
||||
|
||||
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$here | out-host
|
||||
$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!'
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
function Get-HelloWorld {
|
||||
'Hello world!'
|
||||
}
|
||||
Reference in New Issue
Block a user