mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -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
|
load test_helper
|
||||||
|
|
||||||
@test "shell integration disabled" {
|
@test "shell integration disabled" {
|
||||||
run rbenv shell
|
run pyenv shell
|
||||||
assert_failure "rbenv: shell integration not enabled. Run \`rbenv init' for instructions."
|
assert_failure "pyenv: shell integration not enabled. Run \`pyenv init' for instructions."
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "shell integration enabled" {
|
@test "shell integration enabled" {
|
||||||
eval "$(rbenv init -)"
|
eval "$(pyenv init -)"
|
||||||
run rbenv shell
|
run pyenv shell
|
||||||
assert_success "rbenv: no shell-specific version configured"
|
assert_success "pyenv: no shell-specific version configured"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "no shell version" {
|
@test "no shell version" {
|
||||||
|
|
Loading…
Reference in a new issue