From 2b8fe280e0993655ebae1728871541e44b5a913f Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 26 Oct 2021 18:30:43 +0200 Subject: [PATCH] tests: Switch emoji used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tests/checks/string.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checks/string.fish b/tests/checks/string.fish index fdf4f0e6f..72eff965a 100644 --- a/tests/checks/string.fish +++ b/tests/checks/string.fish @@ -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