mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-12-11 15:44:19 +00:00
[Fix] ensure that lts/* points to boron/latest, not argon/earliest.
- update test mocks - fix tests for Boron release Fixes #1268.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
die () { echo $@ ; cleanup ; exit 1; }
|
||||
|
||||
TEST_PATH="$PWD/test_output"
|
||||
@@ -39,7 +37,7 @@ nvm_ls_remote >/dev/null || die "nvm_ls_remote_failed?!"
|
||||
|
||||
CALL_COUNT="$(cat "$CALL_COUNT_PATH")"
|
||||
|
||||
EXPECTED_COUNT=2
|
||||
EXPECTED_COUNT=3
|
||||
[ "$CALL_COUNT" = "$EXPECTED_COUNT" ] || die "nvm_make_alias called $CALL_COUNT times; expected $EXPECTED_COUNT"
|
||||
|
||||
ARGS="$(cat "$ALIAS_ARGS_PATH")"
|
||||
|
||||
Reference in New Issue
Block a user