Rewrite some tests for pyenv which was recently imported from rbenv

This commit is contained in:
Yamashita, Yuu 2018-04-02 01:52:42 +00:00
parent 83f97ef2b3
commit 83429344ea

View file

@ -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" {