Skip to content

Commit 3e2555c

Browse files
committed
Add tests
1 parent e731074 commit 3e2555c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Rules/AvoidPositionalParametersNoViolations.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ Get-ChildItem -Path "Tests"
33
Clear-Host
44
Split-Path -Path "Random" -leaf
55
Get-Process | Where-Object {$_.handles -gt 200}
6-
get-service-computername localhost | where {($_.status -eq "Running") -and ($_.CanStop -eq $true)}
6+
get-service-computername localhost | where {($_.status -eq "Running") -and ($_.CanStop -eq $true)}
7+
1, 2, $null, 4 | ForEach-Object {"Hello"}

0 commit comments

Comments
 (0)