1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-10-13 04:25:50 +08:00
nvm/test/fast/Running "nvm ls foo" should return a nonzero exit code when not found

8 lines
71 B
Plaintext
Executable File

#!/bin/sh
. ../../nvm.sh
nvm ls nonexistent_version
[ "$?" = "3" ]