diff options
author | taoky <taoky99@outlook.com> | 2023-09-22 08:18:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 09:18:41 +0900 |
commit | 8f81668014f4df2654aa9ab674b5498aa9446441 (patch) | |
tree | 223b8e8db917ea45390102bfff4c9b34b00e2563 /tests | |
parent | de1c10ca8a5e333102a00bfcb06ff98f40c774c3 (diff) |
Fix the default colors to use 39, the default foreground color (#2904)
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/shtest | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/shtest b/tests/shtest index ee060e2e..8a7ba077 100755 --- a/tests/shtest +++ b/tests/shtest @@ -438,18 +438,18 @@ cmp $d/color $d/expect ## Default colors, complex input $JQ -Ccn '[{"a":true,"b":false},123,null]' > $d/color { - printf '\033[1;37m[\033[1;37m{' + printf '\033[1;39m[\033[1;39m{' printf '\033[0m\033[1;34m"a"\033[' - printf '0m\033[1;37m:\033[0m\033[' - printf '0;37mtrue\033[0m\033[1' - printf ';37m,\033[0m\033[1;34m' - printf '"b"\033[0m\033[1;37m:\033' - printf '[0m\033[0;37mfalse\033' - printf '[0m\033[1;37m\033[1;37' - printf 'm}\033[0m\033[1;37m,\033[' - printf '0;37m123\033[0m\033[1;' - printf '37m,\033[0;90mnull\033' - printf '[0m\033[1;37m\033[1;37' + printf '0m\033[1;39m:\033[0m\033[' + printf '0;39mtrue\033[0m\033[1' + printf ';39m,\033[0m\033[1;34m' + printf '"b"\033[0m\033[1;39m:\033' + printf '[0m\033[0;39mfalse\033' + printf '[0m\033[1;39m\033[1;39' + printf 'm}\033[0m\033[1;39m,\033[' + printf '0;39m123\033[0m\033[1;' + printf '39m,\033[0;90mnull\033' + printf '[0m\033[1;39m\033[1;39' printf 'm]\033[0m\n' } > $d/expect cmp $d/color $d/expect |