Skip to content

Commit 650b069

Browse files
committed
Seems changes done in docker do not persist, had to reapply them
1 parent 5a28180 commit 650b069

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

3-
set -ex
4-
die () { echo "$@" ; exit 1; }
5-
\. ../../../nvm.sh
3+
set -x
4+
\. ../../nvm.sh
65

76
NVM_TEST_VERSION=v9
87

@@ -12,5 +11,10 @@ NVM_TEST_VERSION=v9
1211
# Write it to nvmrc
1312
echo "$NVM_TEST_VERSION" > .nvmrc
1413

14+
output="$(../../nvm-exec 2>&1)";
15+
expected='N/A: version "v9" is not yet installed.
16+
17+
You need to run `nvm install v9` to install and use it.
18+
No NODE_VERSION provided; no .nvmrc file found';
1519
# Skip install, we want to test the error message
16-
nvm-exec
20+
diff <(echo "$expected") <(echo "$output")

0 commit comments

Comments
 (0)