1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-10-12 03:55:52 +08:00
nvm/test/fast/Running "nvm alias" should create a file in the alias directory.
2016-11-03 23:44:59 -07:00

10 lines
109 B
Bash
Executable File

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