Skip to content

Commit

Permalink
Merge pull request #176 from crazy-max/test-go-print-ver
Browse files Browse the repository at this point in the history
test-go: print version
  • Loading branch information
tonistiigi authored Dec 9, 2024
2 parents 3b54900 + d1df3fb commit fa29281
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test-go.bats
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ testEnv() {
esac
}

@test "version" {
run go version 2>/dev/null
assert_success
assert_output --partial "go version "
echo "# $(go version 2>/dev/null)" >&3
}

@test "nogo" {
if command -v apk >/dev/null 2>/dev/null; then
del go
Expand Down

0 comments on commit fa29281

Please sign in to comment.