Skip to content

Commit

Permalink
fix: update use_latestallowed test for latest version installation
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiiakozlova245 committed Jan 25, 2024
1 parent c511b51 commit 92defc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_use_latestallowed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ echo "terraform {
(
tofuenv install latest-allowed;
tofuenv use latest-allowed;
check_active_version 1.6.0;
check_active_version 1.6.1;
) || error_and_proceed 'Latest allowed incomplete-version does not match';

cleanup || log 'error' 'Cleanup failed?!';
Expand All @@ -107,7 +107,7 @@ echo 'latest-allowed' > .opentofu-version;

(
TOFUENV_AUTO_INSTALL=true tofu version;
check_active_version 1.6.0;
check_active_version 1.6.1;
) || error_and_proceed 'Latest allowed auto-installed version does not match';

cleanup || log 'error' 'Cleanup failed?!';
Expand All @@ -123,7 +123,7 @@ echo 'latest-allowed' > chdir-dir/.opentofu-version

(
TOFUENV_AUTO_INSTALL=true tofu -chdir=chdir-dir version;
check_active_version 1.6.0 chdir-dir;
check_active_version 1.6.1 chdir-dir;
) || error_and_proceed 'Latest allowed version from -chdir does not match';

cleanup || log 'error' 'Cleanup failed?!';
Expand Down

0 comments on commit 92defc7

Please sign in to comment.