mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-10 14:24:39 +03:00
Add decolor test
This commit is contained in:
parent
fa065ec72d
commit
673131a419
10
tide_theme/tests/decolor.fish
Normal file
10
tide_theme/tests/decolor.fish
Normal file
@ -0,0 +1,10 @@
|
||||
@mesg '---------cmd_duration---------'
|
||||
|
||||
set -lx decolorText 'Hello Foo'
|
||||
|
||||
function _decolor -a color
|
||||
_tide_decolor (set_color $color)$decolorText
|
||||
end
|
||||
|
||||
@test 'Color' (_decolor red) = $decolorText
|
||||
@test 'Normal' (_decolor normal) = $decolorText
|
Loading…
Reference in New Issue
Block a user