Add decolor test

This commit is contained in:
Ilan Cosman 2020-08-09 17:43:51 -07:00
parent fa065ec72d
commit 673131a419

View 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