mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix the name of a 'Register-EngineEvent' test (#7222)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Licensed under the MIT License.
|
||||
Describe "Register-EngineEvent" -Tags "CI" {
|
||||
|
||||
Context "Check return type of Register-ObjectEvent" {
|
||||
Context "Check return type of Register-EngineEvent" {
|
||||
It "Should return System.Management.Automation.PSEventJob as return type of Register-EngineEvent" {
|
||||
Register-EngineEvent -SourceIdentifier PesterTestRegister -Action {echo registerengineevent} | Should -BeOfType System.Management.Automation.PSEventJob
|
||||
Unregister-Event -sourceidentifier PesterTestRegister
|
||||
|
||||
Reference in New Issue
Block a user