Skip to content

Commit f2c5ce4

Browse files
reasonablytallljharb
authored andcommitted
[Tests] Fix nvm unload fast test cleanup
1 parent 0f0d5e8 commit f2c5ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fast/Running "nvm unload" should unset all function and variables.

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -ex
55
BEFORE="./before.tmp"
66
AFTER="./after.tmp"
77

8-
cleanup () { echo rm -f "${BEFORE}" "${AFTER}"; }
8+
cleanup () { rm -f "${BEFORE}" "${AFTER}"; }
99
die () { echo "$@" ; cleanup ; exit 1; }
1010

1111
typeset -f | awk '/ \(\) $/ && !/^main / {print $1}' > "${BEFORE}"

0 commit comments

Comments
 (0)