Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jan 21, 2025
1 parent 27704e2 commit 0753760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rbenv.bats
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ OUT

@test "nonexistent version" {
display_here="${BATS_TEST_DIRNAME}"/..
if [[ -n $HOME && "$display_here" == "${HOME%/}/"* ]]; then
display_here="~${display_here#"${HOME%/}"}"
if [[ -n $HOME && $display_here == "${HOME}/"* ]]; then
display_here="~${display_here#"${HOME}"}"
fi

stub_git_dir=
Expand Down

0 comments on commit 0753760

Please sign in to comment.