diff --git a/test/exec.bats b/test/exec.bats index 56a0f61e..4ca03dcf 100644 --- a/test/exec.bats +++ b/test/exec.bats @@ -17,7 +17,10 @@ create_executable() { @test "fails with invalid version" { export PYENV_VERSION="3.4" run pyenv-exec python -V - assert_failure "pyenv: version \`3.4' is not installed (set by PYENV_VERSION environment variable)" + assert_failure < .python-version run pyenv-exec rspec - assert_failure "pyenv: version \`2.7' is not installed (set by $PWD/.python-version)" + assert_failure <