nvm/test/fast/Running "nvm alias" should create a file in the alias directory.
2016-07-10 19:58:32 -07:00

10 lines
108 B
Bash
Executable File

#!/bin/sh
set -ex
. ../../nvm.sh
nvm alias test v0.1.2
[ "$(cat "$(nvm_alias_path)/test")" = "v0.1.2" ]