aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-07-18 07:48:36 -0400
committerGitHub <noreply@github.com>2026-07-18 07:48:36 -0400
commit99a16121d4aa0affabbd37697bccc388d48d0229 (patch)
tree9785be2faa7874ec8ec22eb6583cd6a485b8b72b /test/functional/vimscript/executable_spec.lua
parentb2bb60d70a449b5ce8041ed27df7c1248fea17d8 (diff)
downloadrneovim-99a16121d4aa0affabbd37697bccc388d48d0229.tar.gz
rneovim-99a16121d4aa0affabbd37697bccc388d48d0229.tar.bz2
rneovim-99a16121d4aa0affabbd37697bccc388d48d0229.zip
test: unreliable "put command . register special … ring the bell" #40812
Problem: FAILED …/put_spec.lua:894: …/put_spec.lua @ 898: put command . register special tests should ring the bell when deleting if not appropriate …/put_spec.lua:894: …/put_spec.lua:898: Bell was not rung after action Snapshot: screen:expect([[ ^ine of words 1 | Line of words 2 | {1:~ }|*4 {3:[No Name] [+] }| | {1:~ }|*4 {UNKNOWN_HL_ID(4):[No Name] }| {UNKNOWN_HL_ID(1): }| ]]) stack traceback: …/ui/screen.lua:917: in function '_wait' …/ui/screen.lua:540: in function 'expect' …/editor/put_spec.lua:894: in function 'bell_test' …/editor/put_spec.lua:940: in function <…/editor/put_spec.lua:932> Analysis: The bell was asserted via the UI 'bell' event (screen.bell), but vim_beep() rate-limits that to 3 per 500ms. These tests share one long-lived session, so beeps from earlier tests could exhaust the window and drop the asserted beep. Solution: Use assert_beeps()/assert_nobeep(), which check called_vim_beep (set before the rate-limit gate).
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions