nvm/test/fast/Running "nvm alias" should ...

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" ]