Remove quotes from --unset option

This commit is contained in:
OZAWA Sakuro 2019-09-02 11:55:42 +09:00
parent b26f56692d
commit bc309c0fe5

View File

@ -242,7 +242,7 @@ teardown() {
source $(dirname "$BATS_TEST_DIRNAME")/asdf.sh
asdf shell "dummy" "1.1.0"
[ $(echo $ASDF_DUMMY_VERSION) = "1.1.0" ]
asdf shell "dummy" "--unset"
asdf shell "dummy" --unset
[ -z "$(echo $ASDF_DUMMY_VERSION)" ]
unset ASDF_DUMMY_VERSION
}