8000 [Feature] Test correction in engine. · kalgiz/PowerShell@5092da7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5092da7

Browse files
committed
[Feature] Test correction in engine.
1 parent f58a0c8 commit 5092da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/powershell/engine/Remoting/RoleCapabilityFiles.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Describe "Remote session configuration RoleDefintion RoleCapabilityFiles key tes
9393
[powershell] $ps = [powershell]::Create($iss)
9494
$null = $ps.AddCommand('Get-Service')
9595

96-
{ $ps.Invoke() } | Should -Throw -ErrorId 'System.Management.Automation.CommandNotFoundException'
96+
{ $ps.Invoke() } | Should -Throw -ErrorId 'CommandNotFoundException'
9797

9898
$ps.Dispose()
9999
}

0 commit comments

Comments
 (0)
0