[ubuntu] provide package name (#3172)

This commit is contained in:
Aleksandr Chebotov
2021-04-13 17:13:46 +03:00
committed by GitHub
parent f3ffc1d9f3
commit 487339fb77

View File

@@ -40,7 +40,7 @@ Describe "Swift" {
}
Describe "PipxPackages" -Skip:(Test-IsUbuntu16) {
[array]$testCases = (Get-ToolsetContent).pipx | ForEach-Object { @{cmd = $_.cmd} }
[array]$testCases = (Get-ToolsetContent).pipx | ForEach-Object { @{package=$_.package; cmd = $_.cmd} }
It "<package>" -TestCases $testCases {
"$cmd --version" | Should -ReturnZeroExitCode