Skip to content

Commit

Permalink
Unset ASDF_DIR variable before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stratus3D committed Feb 4, 2020
1 parent 79ffc55 commit 6d8d77f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_helpers.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash

# Unset ASDF_DIR because it may already be set by the users shell, and some
# tests fail when it is set to something other than the temp dir.
unset ASDF_DIR

# shellcheck source=lib/utils.sh
. "$(dirname "$BATS_TEST_DIRNAME")"/lib/utils.sh

Expand Down

0 comments on commit 6d8d77f

Please sign in to comment.