mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-27 03:33:26 +03:00
Improve decolor test
This commit is contained in:
parent
8701c0ad56
commit
b6af7e1cef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user