From 70f1734c120de6ec895b82896c3c1f80fe74727d Mon Sep 17 00:00:00 2001 From: Koen Punt Date: Mon, 17 Mar 2014 13:24:24 +0100 Subject: [PATCH] updated tests for altered output --- ...ing \"nvm current\" should display current nvm environment." | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/test/fast/Running \"nvm current\" should display current nvm environment." "b/test/fast/Running \"nvm current\" should display current nvm environment." index a2c93a5..1eedaf6 100755 --- "a/test/fast/Running \"nvm current\" should display current nvm environment." +++ "b/test/fast/Running \"nvm current\" should display current nvm environment." @@ -3,4 +3,4 @@ die () { echo $@ ; exit 1; } . ../../nvm.sh -[ `expr "$(nvm current)" : ".*current"` != 0 ] || die "Failed to find current version" +[ "$(nvm current)" == `node -v` ] || die "Failed to find current version"