mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 06:13:53 -05:00
test(init): remove misleading arg in detect from parent shell case
The generated script does not take/use any arguments, so passing /bin/zsh to it serves only to cause confusion.
This commit is contained in:
@@ -39,7 +39,7 @@ eval "\$(rbenv-init -)"
|
|||||||
echo \$RBENV_SHELL
|
echo \$RBENV_SHELL
|
||||||
OUT
|
OUT
|
||||||
chmod +x myscript.sh
|
chmod +x myscript.sh
|
||||||
run ./myscript.sh /bin/zsh
|
run ./myscript.sh
|
||||||
assert_success "sh"
|
assert_success "sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user