Skip to content

Commit

Permalink
fix test kotlin window
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailshaganov committed Jul 27, 2021
1 parent 58647ce commit a6a8d3b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions images/win/scripts/Tests/ChocoPackages.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ Describe "CMake" {

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 a6a8d3b

Please sign in to comment.