Add nvm item test

This commit is contained in:
Ilan Cosman 2021-02-10 13:59:36 -08:00
parent 6a9ae65069
commit 8f276758de

View File

@ -0,0 +1,16 @@
# RUN: %fish %s
function _nvm
_tide_decolor (_tide_item_nvm)
end
set -lx tide_nvm_icon
functions --erase nvm
_nvm # CHECK:
mock nvm current "echo v15.8.0"
_nvm # CHECK: ⬢ v15.8.0
mock nvm current "echo system"
_nvm # CHECK: