@@ -220,7 +220,7 @@ resources:
220220 # return all native resources, providers, but not provider-based resources;
221221 # results for `dsc resource list` and `dsc resource list *` should be the same
222222 $a = dsc resource list -f json
223- $b = dsc resource list * -f json
223+ $b = dsc resource list ' * ' -f json
224224 $a.Count | Should - Be $b.Count
225225 0 .. ($a.Count - 1 ) | % {
226226 $a_obj = $a [$_ ] | ConvertFrom-Json
@@ -245,7 +245,7 @@ resources:
245245
246246 It ' verify `dsc resource list * *`' {
247247 # everything should be in the results: all native resources, providers, and provider-based resources
248- $a = dsc resource list * * -f json
248+ $a = dsc resource list ' * ' ' * ' -f json
249249 $resourceKindFound = $false
250250 $groupKindFound = $false
251251 $adapterKindFound = $false
@@ -281,7 +281,7 @@ resources:
281281
282282 It ' verify `dsc resource list * adapter_filter`' {
283283 # return all native resources, providers, and all resources of providers that match adapter_filter filter
284- $a = dsc resource list * Test* -f json | ConvertFrom-Json
284+ $a = dsc resource list ' * ' Test* -f json | ConvertFrom-Json
285285 $adapterBasedResources = $a | ? {$_.requireAdapter }
286286 foreach ($r in $adapterBasedResources ) {
287287 $r.requireAdapter.StartsWith (" Test" ) | Should - Be $true
0 commit comments