diff --git a/test/fullclr/PowerShellGithubDev.Tests.ps1 b/test/fullclr/PowerShellGithubDev.Tests.ps1 index 69cb5ef820..628f9f1e2c 100644 --- a/test/fullclr/PowerShellGithubDev.Tests.ps1 +++ b/test/fullclr/PowerShellGithubDev.Tests.ps1 @@ -28,6 +28,12 @@ Describe 'build.psm1 and powershell.exe' { [Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase].Assembly.Location | Should Be ( Join-Path $env:DEVPATH Microsoft.PowerShell.Security.dll) } + + It 'loads Microsoft.PowerShell.Workflow.ServiceCore.dll' { + workflow wfTest {}; wfTest ## Trigger the loading of ServiceCore.dll + [Microsoft.PowerShell.Workflow.PSWorkflowJob].Assembly.Location | Should Be ( + Join-Path $env:DEVPATH Microsoft.PowerShell.Workflow.ServiceCore.dll) + } } }