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.
15 lines
560 B
15 lines
560 B
![]()
4 years ago
|
---
|
||
![]()
4 years ago
|
source: tests/feature_tests/uninstall.rs
|
||
![]()
4 years ago
|
expression: "&source.trim()"
|
||
|
---
|
||
|
$ErrorActionPreference = "Stop"
|
||
|
fnm env | Out-String | Invoke-Expression
|
||
|
fnm install 12.0.0
|
||
|
fnm alias 12.0.0 hello
|
||
|
$($__out__ = $($($__out__ = $(fnm ls | Select-String 'v12.0.0'); echo $__out__; if ($__out__ -eq $null){ exit 1 } else { $__out__ }) | Select-String 'hello'); echo $__out__; if ($__out__ -eq $null){ exit 1 } else { $__out__ })
|
||
|
fnm uninstall hello
|
||
|
If ("$(fnm ls)" -ne "* system") {
|
||
|
Write-Output ('Expected fnm ls to be "* system", Got: ' + $(fnm ls))
|
||
|
exit 1
|
||
|
}
|