Skip to content

Commit 38c4253

Browse files
committed
CI: Add some powershell debugging options
1 parent 6a3d0c3 commit 38c4253

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

pwsh_module/command.tests.ps1

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,14 @@ Describe "test bolt command syntax" {
7171
}
7272

7373
It "has correct number of parameters" {
74-
($command.Parameters.Values | Where-Object {
75-
$_.name -notin $common
76-
} | measure-object).Count | Should -Be 35
74+
$customParams = $command.Parameters.Values | Where-Object {
75+
$_.Name -notin $common
76+
}
77+
78+
Write-Host "Custom parameters:"
79+
$customParams | ForEach-Object { Write-Host " - $($_.Name)" }
80+
81+
($customParams | Measure-Object).Count | Should -Be 35
7782
}
7883
}
7984

0 commit comments

Comments
 (0)