Remove stale FISH_UNIT_TESTS_RUNNING workaround

This exists to make sure our assertions pass independent of the
terminal but now we unconditionally print __fish_cursor_xterm.
This commit is contained in:
Johannes Altmanninger 2024-10-25 22:47:20 +02:00
parent 04c9134275
commit c2cde317f2

View File

@ -4,12 +4,6 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
return return
end end
# This is hard to test in expect, since the exact sequences depend on the environment.
# Instead disable it.
if set -q FISH_UNIT_TESTS_RUNNING
return
end
set -q fish_cursor_unknown set -q fish_cursor_unknown
or set -g fish_cursor_unknown block or set -g fish_cursor_unknown block