mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Merge pull request #867 from PowerShell/InvokeCommandPesterTest
Add Invoke-Expression Pester Unit Test
This commit is contained in:
@@ -27,3 +27,9 @@ Describe "Invoke-Expression" {
|
||||
}
|
||||
}
|
||||
}
|
||||
Describe "Invoke-Expression DRT Unit Tests" -Tags DRT{
|
||||
It "Invoke-Expression should work"{
|
||||
$result=invoke-expression -Command 2+2
|
||||
$result|Should Be 4
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user