Skip to content

Commit

Permalink
Updating "nvm run" tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 4, 2014
1 parent e195fcc commit c77be55
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ die () { echo $@ ; exit 1; }
. ../../../nvm.sh

echo "0.10.7" > .nvmrc

[ "$(nvm run --version | tail -1)" = "v0.10.7" ] || die "\`nvm run\` failed to run with the .nvmrc version"

[ "$(nvm run --version | head -1)" = "Found .nvmrc files with version <0.10.7>" ] || die "\`nvm run\` failed to print out the \"found in .nvmrc\" message"
[ "$(nvm run --version | head -1)" = "Found '$PWD/.nvmrc' with version <0.10.7>" ] || die "\`nvm run\` failed to print out the \"found in .nvmrc\" message"

0 comments on commit c77be55

Please sign in to comment.