Skip to content

Commit 9896766

Browse files
committed
move test comments
1 parent 7421620 commit 9896766

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/install_script/nvm_detect_profile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,21 +102,21 @@ if [ "$NVM_DETECT_PROFILE" != "$HOME/.bash_profile" ]; then
102102
die "nvm_detect_profile should have selected .bash_profile"
103103
fi
104104

105-
# Otherwise, it should favor .zshrc if file exists
105+
# Otherwise, it should favor .zprofile if file exists
106106
rm ".bash_profile"
107107
NVM_DETECT_PROFILE="$(unset SHELL; nvm_detect_profile)"
108108
if [ "$NVM_DETECT_PROFILE" != "$HOME/.zprofile" ]; then
109109
die "nvm_detect_profile should have selected .zprofile"
110110
fi
111111

112-
# It should be empty if none is found
112+
# Otherwise, it should favor .zshrc if file exists
113113
rm ".zprofile"
114114
NVM_DETECT_PROFILE="$(unset SHELL; nvm_detect_profile)"
115115
if [ "$NVM_DETECT_PROFILE" != "$HOME/.zshrc" ]; then
116116
die "nvm_detect_profile should have selected .zshrc"
117117
fi
118118

119-
# Otherwise, it should favor .zprofile if file exists
119+
# It should be empty if none is found
120120
rm ".zshrc"
121121
NVM_DETECT_PROFILE="$(unset SHELL; nvm_detect_profile)"
122122
if [ ! -z "$NVM_DETECT_PROFILE" ]; then

0 commit comments

Comments
 (0)