Skip to content

Commit

Permalink
fix test mac
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailshaganov committed Jul 27, 2021
1 parent fa109f6 commit 744446c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions images/macos/tests/BasicTools.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ Describe "Homebrew" {

Describe "Kotlin" {
$kotlinPackages = @("kapt", "kotlin", "kotlinc", "kotlinc-js", "kotlinc-jvm", "kotlin-dce-js")
It -TestCases ($kotlinPackages | ForEach-Object { { Name = $_ } }) {
"$Name -version" | Should -ReturnZeroExitCode

It "<toolName> is available" -TestCases ($kotlinPackages | ForEach-Object { { toolName = $_ } }) {
"$toolName -version" | Should -ReturnZeroExitCode
}
}

0 comments on commit 744446c

Please sign in to comment.