1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Removing unnecessary line breaks '\n'
Author: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Forwarded: not-needed
Last-Update: 2024-12-10
Index: pyenv/plugins/python-build/test/pyenv.bats
===================================================================
--- pyenv.orig/plugins/python-build/test/pyenv.bats
+++ pyenv/plugins/python-build/test/pyenv.bats
@@ -267,21 +267,6 @@ OUT
refute [ -d "${PYENV_ROOT}/versions/3.4.2" ]
}
-@test "invalid arguments for pyenv-uninstall" {
- mkdir -p "${PYENV_ROOT}/versions/3.10.3"
- mkdir -p "${PYENV_ROOT}/versions/3.10.4"
-
- run pyenv uninstall -f 3.10.3 --invalid-option 3.10.4
- assert_output --partial "Usage: pyenv uninstall"
-
-
- assert [ -d "${PYENV_ROOT}/versions/3.10.3" ]
- assert [ -d "${PYENV_ROOT}/versions/3.10.4" ]
-
- rmdir "${PYENV_ROOT}/versions/3.10.3"
- rmdir "${PYENV_ROOT}/versions/3.10.4"
-}
-
@test "show help for pyenv-uninstall" {
stub pyenv-help 'uninstall : true'
|