mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
tests: Switch emoji used
widechar_width no longer classifies U+1F41F as widened-in-9, so the
width no longer changes.
Since we're interested in testing the change here, we need a different
emoji.
Just use 🥁, which was introduced in 9 as wide, and therefore widened
in 9.
This commit is contained in:
parent
f1fe6a5e94
commit
2b8fe280e0
1 changed files with 2 additions and 2 deletions
|
@ -93,11 +93,11 @@ string length --visible (set_color red)abc
|
|||
begin
|
||||
set -l fish_emoji_width 2
|
||||
# This should print the emoji width
|
||||
string length --visible . 🐟
|
||||
string length --visible . 🥁
|
||||
# CHECK: 1
|
||||
# CHECK: 2
|
||||
set -l fish_emoji_width 1
|
||||
string length --visible . 🐟
|
||||
string length --visible . 🥁
|
||||
# CHECK: 1
|
||||
# CHECK: 1
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue