mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Add simple test for non-empty workflow, make it work
This commit is contained in:
1 parent
9eda67b00c
commit
c4f268f7cd
2 files changed
+8
-2
No files matched your search
@@ -30,7 +30,8 @@ Describe 'build.psm1 and powershell.exe' {
|
||||
}
|
||||
|
||||
It 'loads Microsoft.PowerShell.Workflow.ServiceCore.dll' {
|
||||
workflow wfTest {}; wfTest ## Trigger the loading of ServiceCore.dll
|
||||
workflow wfTest { Split-Path $pwd }
|
||||
wfTest | Should Not Be $null ## Also trigger the loading of ServiceCore.dll
|
||||
[Microsoft.PowerShell.Workflow.PSWorkflowJob].Assembly.Location | Should Be (
|
||||
Join-Path $env:DEVPATH Microsoft.PowerShell.Workflow.ServiceCore.dll)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user