mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Rewrite some tests for pyenv which was recently imported from rbenv
This commit is contained in:
parent
83f97ef2b3
commit
83429344ea
1 changed files with 5 additions and 5 deletions
|
@ -3,14 +3,14 @@
|
|||
load test_helper
|
||||
|
||||
@test "shell integration disabled" {
|
||||
run rbenv shell
|
||||
assert_failure "rbenv: shell integration not enabled. Run \`rbenv init' for instructions."
|
||||
run pyenv shell
|
||||
assert_failure "pyenv: shell integration not enabled. Run \`pyenv init' for instructions."
|
||||
}
|
||||
|
||||
@test "shell integration enabled" {
|
||||
eval "$(rbenv init -)"
|
||||
run rbenv shell
|
||||
assert_success "rbenv: no shell-specific version configured"
|
||||
eval "$(pyenv init -)"
|
||||
run pyenv shell
|
||||
assert_success "pyenv: no shell-specific version configured"
|
||||
}
|
||||
|
||||
@test "no shell version" {
|
||||
|
|
Loading…
Reference in a new issue