From 23319dc3a02fae943e6b98d68770ee3d5e7f5544 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Mon, 16 Dec 2024 02:19:59 +0300 Subject: [PATCH] Allow for possible global commands `python` and `rspec` might exist globally --- test/exec.bats | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/exec.bats b/test/exec.bats index 4ca03dcf..b643d31e 100644 --- a/test/exec.bats +++ b/test/exec.bats @@ -16,10 +16,10 @@ create_executable() { @test "fails with invalid version" { export PYENV_VERSION="3.4" - run pyenv-exec python -V + run pyenv-exec nonexistent assert_failure < .python-version - run pyenv-exec rspec + run pyenv-exec nonexistent assert_failure <