tide/tests/_tide_decolor.test.fish
2021-02-10 13:53:09 -08:00

10 lines
218 B
Fish

# RUN: %fish %s
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