From 19f60e7cf596b3d4530cc74bc9960fdc0b5dc188 Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Thu, 10 Sep 2020 01:57:10 +0300 Subject: [PATCH] Fix coments --- tests/Go.Tests.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Go.Tests.ps1 b/tests/Go.Tests.ps1 index 20ffd02..5badc6f 100644 --- a/tests/Go.Tests.ps1 +++ b/tests/Go.Tests.ps1 @@ -58,7 +58,7 @@ Describe "Go" { "go run simple.go" | Should -ReturnZeroExitCode "go build simple.go" | Should -ReturnZeroExitCode $compiledPackageName = "simple" - if ($IsWindows) { $compiledPackageName = "simple.exe" } + if ($IsWindows) { $compiledPackageName += ".exe" } (Resolve-Path "./$compiledPackageName").Path | Should -ReturnZeroExitCode } @@ -68,7 +68,7 @@ Describe "Go" { "go run maps.go" | Should -ReturnZeroExitCode "go build maps.go" | Should -ReturnZeroExitCode $compiledPackageName = "maps" - if ($IsWindows) { $compiledPackageName = "maps.exe" } + if ($IsWindows) { $compiledPackageName += ".exe" } (Resolve-Path "./$compiledPackageName").Path | Should -ReturnZeroExitCode } @@ -78,7 +78,7 @@ Describe "Go" { "go run methods.go" | Should -ReturnZeroExitCode "go build methods.go" | Should -ReturnZeroExitCode $compiledPackageName = "methods" - if ($IsWindows) { $compiledPackageName = "methods.exe" } + if ($IsWindows) { $compiledPackageName += ".exe" } (Resolve-Path "./$compiledPackageName").Path | Should -ReturnZeroExitCode } } \ No newline at end of file