mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-13 22:13:52 -05:00
Updated tests to correctly pass for fish shell bug fix
This commit is contained in:
@@ -19,7 +19,7 @@ setup() {
|
|||||||
|
|
||||||
assert_success
|
assert_success
|
||||||
assert_output <<EOS
|
assert_output <<EOS
|
||||||
pyenv shell "venv"
|
pyenv shell "venv";
|
||||||
source "${PYENV_ROOT}/versions/venv/bin/activate"
|
source "${PYENV_ROOT}/versions/venv/bin/activate"
|
||||||
EOS
|
EOS
|
||||||
}
|
}
|
||||||
@@ -37,7 +37,7 @@ EOS
|
|||||||
|
|
||||||
assert_success
|
assert_success
|
||||||
assert_output <<EOS
|
assert_output <<EOS
|
||||||
pyenv shell "venv"
|
pyenv shell "venv";
|
||||||
. "${PYENV_ROOT}/versions/venv/bin/activate.fish"
|
. "${PYENV_ROOT}/versions/venv/bin/activate.fish"
|
||||||
EOS
|
EOS
|
||||||
}
|
}
|
||||||
@@ -53,7 +53,7 @@ EOS
|
|||||||
|
|
||||||
assert_success
|
assert_success
|
||||||
assert_output <<EOS
|
assert_output <<EOS
|
||||||
pyenv shell "venv27"
|
pyenv shell "venv27";
|
||||||
source "${PYENV_ROOT}/versions/venv27/bin/activate"
|
source "${PYENV_ROOT}/versions/venv27/bin/activate"
|
||||||
EOS
|
EOS
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ EOS
|
|||||||
|
|
||||||
assert_success
|
assert_success
|
||||||
assert_output <<EOS
|
assert_output <<EOS
|
||||||
functions -q deactivate; and deactivate
|
functions -q deactivate; and deactivate;
|
||||||
pyenv shell --unset
|
pyenv shell --unset
|
||||||
EOS
|
EOS
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user