We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445a699 commit 8514c48Copy full SHA for 8514c48
ModuleFast.tests.ps1
@@ -252,6 +252,11 @@ Describe 'Get-ModuleFastPlan' -Tag 'E2E' {
252
253
)
254
255
+ It 'Fails if hashtable-style string parameter is not a modulespec' {
256
+ { Get-ModuleFastPlan '@{ModuleName = ''Az.Accounts''; ModuleVersion = ''2.7.3''; InvalidParameter = ''ThisShouldNotBeValid''}' -ErrorAction Stop }
257
+ | Should -Throw '*Cannot process argument transformation on parameter*'
258
+ }
259
+
260
It 'Gets Module with String Parameter: <Spec>' {
261
$actual = Get-ModuleFastPlan $Spec
262
$actual | Should -HaveCount 1
0 commit comments