Skip to content

Commit 9d5d58f

Browse files
committed
Changed wording in comment
1 parent 4e0086b commit 9d5d58f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Rules/UseUsingScopeModifierInNewRunspaces.tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ Describe "UseUsingScopeModifierInNewRunspaces" {
295295
# ScriptBlock with variables in params(), issue #1504: https://github.com/PowerShell/PSScriptAnalyzer/issues/1504
296296
## Microsoft.PowerShell.Core \ Start-Job
297297
@{
298-
Description = 'Does not throw when variable is defined inside params() - Start-Job'
298+
Description = 'Does not warn when variable is defined inside params() - Start-Job'
299299
ScriptBlock = '{
300300
Start-Job -ScriptBlock {
301301
Param($Foo)
@@ -305,7 +305,7 @@ Describe "UseUsingScopeModifierInNewRunspaces" {
305305
}
306306
## Microsoft.PowerShell.ThreadJob \ Start-ThreadJob
307307
@{
308-
Description = 'Does not throw when variable is defined inside params() - Start-Job'
308+
Description = 'Does not warn when variable is defined inside params() - Start-Job'
309309
ScriptBlock = '{
310310
Start-ThreadJob -ScriptBlock {
311311
Param($Foo)

0 commit comments

Comments
 (0)