mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-07 21:17:53 +00:00
fix logic error in nvm deactivate test
This commit is contained in:
@@ -11,4 +11,4 @@ nvm use v0.2.3 &&
|
||||
[ `expr $PATH : ".*v0.2.3/.*/bin"` != 0 ] || die "Failed to activate v0.2.3"
|
||||
|
||||
nvm deactivate &&
|
||||
[ `expr $PATH : ".*v0.2.3/.*/bin"` != 0 ] || die "Failed to deactivate v0.2.3"
|
||||
[ `expr $PATH : ".*v0.2.3/.*/bin"` = 0 ] || die "Failed to deactivate v0.2.3"
|
||||
|
Reference in New Issue
Block a user