mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-22 23:03:26 +03:00
Add nvm item test
This commit is contained in:
parent
6a9ae65069
commit
8f276758de
16
tests/_tide_item_nvm.test.fish
Normal file
16
tests/_tide_item_nvm.test.fish
Normal 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:
|
Loading…
Reference in New Issue
Block a user