Skip to content

Commit

Permalink
Fix coments
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimZhukov committed Sep 9, 2020
1 parent 3330336 commit 19f60e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Go.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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
}

Expand All @@ -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
}
}

0 comments on commit 19f60e7

Please sign in to comment.