Skip to content

Commit

Permalink
remove test to maintain go version
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Jul 19, 2024
1 parent 1b5390e commit ab74e83
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/go/tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -68,24 +68,6 @@ load 'bats-assert-master/load'
unset GO_VERSION
}

@test "reuse installed Go version" {
export GO_VERSION=1.x
run /var/lib/tsuru/deploy
assert_success
[[ "$output" == *"Installing Go ${latest} (closest match from \$GO_VERSION=1.x)"* ]]
[[ "$output" == *"Using Go version: go version ${latest} linux/amd64"* ]]

run go version
assert_success
[[ "$output" == *"${latest}"* ]]

run /var/lib/tsuru/deploy
assert_success
[[ "$output" == *"Using already installed Go ${latest} (closest match from \$GO_VERSION=1.x)"* ]]
[[ "$output" == *"Using Go version: go version ${latest} linux/amd64"* ]]

unset GO_VERSION
}

@test "test project rootmain default procfile" {
cp -a ./fixtures/rootmain/* ${CURRENT_DIR}/
Expand Down

0 comments on commit ab74e83

Please sign in to comment.