Skip to content

Commit

Permalink
better helper name
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkarns committed Aug 12, 2019
1 parent 88f95ed commit d6ad6ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/doctor.bats
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ load test_helper

@test "reports shims in PATH - OK" {
with_nodenv
with_nodenv_root
with_nodenv_shims

run nodenv-doctor

Expand Down Expand Up @@ -113,7 +113,7 @@ load test_helper

@test "reports clean setup" {
with_nodenv
with_nodenv_root
with_nodenv_shims
with_nodenv_plugin nodenv-install
with_nodes 10.2.3

Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.bash
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ with_nodenv() {
PATH="$PWD/node_modules/.bin:$PATH"
}

with_nodenv_root() {
with_nodenv_shims() {
local shims_path="$NODENV_ROOT/shims"
mkdir -p "$shims_path"
PATH="$shims_path:$PATH"
Expand Down

0 comments on commit d6ad6ef

Please sign in to comment.