tide/tide_theme/tests/decolor.fish

10 lines
249 B
Fish

@mesg '---------decolor---------'
set -lx decolorText 'Hello Foo'
function _decolor -a color
_tide_decolor (set_color $color; or echo)$decolorText
end
@test 'Color' (_decolor red) = $decolorText
@test 'Normal' (_decolor normal) = $decolorText