From a6a8d3b7d8ad7407ed04bff61d75bbf5d76a7f3a Mon Sep 17 00:00:00 2001 From: mikhailshaganov Date: Tue, 27 Jul 2021 12:16:12 +0300 Subject: [PATCH] fix test kotlin window --- images/win/scripts/Tests/ChocoPackages.Tests.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/images/win/scripts/Tests/ChocoPackages.Tests.ps1 b/images/win/scripts/Tests/ChocoPackages.Tests.ps1 index dc03002f1930..13a8fcf925c1 100644 --- a/images/win/scripts/Tests/ChocoPackages.Tests.ps1 +++ b/images/win/scripts/Tests/ChocoPackages.Tests.ps1 @@ -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 " is available" -TestCases ($kotlinPackages | ForEach-Object { { toolName = $_ } }) { + "$toolName -version" | Should -ReturnZeroExitCode } } \ No newline at end of file