From b6af7e1cef717a22d0c7a07761634d0c10422f4c Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Wed, 27 Jan 2021 09:51:11 -0800 Subject: [PATCH] Improve decolor test --- tests/decolor.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/decolor.fish b/tests/decolor.fish index 1108963..6e81431 100644 --- a/tests/decolor.fish +++ b/tests/decolor.fish @@ -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