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.
24 lines
729 B
24 lines
729 B
--- |
|
source: tests/feature_tests/mod.rs |
|
expression: "&source.trim()" |
|
--- |
|
$ErrorActionPreference = "Stop" |
|
fnm env | Out-String | Invoke-Expression |
|
echo 'v8.10.0' > '.nvmrc' |
|
fnm install |
|
fnm install v6.10.0 |
|
fnm install v10.10.0 |
|
If ("$(fnm exec -- node -v)" -ne "v8.10.0") { |
|
Write-Output ('Expected version file exec to be "v8.10.0", Got: ' + $(fnm exec -- node -v)) |
|
exit 1 |
|
} |
|
|
|
If ("$(fnm exec --using=6 -- node -v)" -ne "v6.10.0") { |
|
Write-Output ('Expected exec:6 node -v to be "v6.10.0", Got: ' + $(fnm exec --using=6 -- node -v)) |
|
exit 1 |
|
} |
|
|
|
If ("$(fnm exec --using=10 -- node -v)" -ne "v10.10.0") { |
|
Write-Output ('Expected exec:6 node -v to be "v10.10.0", Got: ' + $(fnm exec --using=10 -- node -v)) |
|
exit 1 |
|
}
|
|
|