You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
454 B

---
source: tests/feature_tests/mod.rs
expression: "&source.trim()"
---
set -e
eval "$(fnm env)"
fnm install v8.11.3
fnm install v11.9.0
fnm use v8.11.3
echo 'set -e
eval "$(fnm env)"
fnm use 11
if [ "$(node -v)" '\!'= "v11.9.0" ]; then
echo '\''Expected Node version to be "v11.9.0", Got: '\''"$(node -v)"
exit 1
fi
' | zsh
if [ "$(node -v)" != "v8.11.3" ]; then
echo 'Expected Node version to be "v8.11.3", Got: '"$(node -v)"
exit 1
fi