We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45eed26 commit 2bf3f9aCopy full SHA for 2bf3f9a
test/fast/Unit tests/nvm_download
@@ -22,6 +22,9 @@ sleep 1 # wait for httpbin to start
22
NVM_AUTH_HEADER="Bearer test-token"
23
nvm_download "http://127.0.0.1/bearer" > /dev/null || die "nvm_download unable to send auth header"
24
unset NVM_AUTH_HEADER
25
+
26
+# nvm_download should fail when calling without auth header
27
+nvm_download "http://127.0.0.1/bearer" > /dev/null && die "nvm_download dies with no auth header"
28
docker stop httpbin && docker rm httpbin
29
30
cleanup
0 commit comments