Improve decolor test

This commit is contained in:
Ilan Cosman 2021-01-27 09:51:11 -08:00
parent 8701c0ad56
commit b6af7e1cef

View File

@ -1,10 +1,9 @@
# RUN: %fish %s
set -lx decolorText 'Hello Foo'
function _decolor -a color
_tide_decolor (set_color $color || echo)'Hello Foo'
end
_decolor red # CHECK: Hello Foo
_decolor normal # CHECK: Hello Foo
_decolor $_tide_color_gold # CHECK: Hello Foo