mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-16 07:13:53 -05:00
Rewrite some tests for pyenv which was recently imported from rbenv
This commit is contained in:
@@ -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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user