neovim/test/functional/api
zeertzjq e9f4ceeb74
fix(events): don't expand args.file for Lua callback (#31473)
Problem:  In an autocommand Lua callback whether `args.file` is expanded
          depends on whether `expand('<afile>')` has been called.
Solution: Always use the unexpanded file name for `args.file`.

Related to #31306 and vim/vim#16106. This doesn't provide `sfname`, but
at least makes `args.file` have a consistent value.
2024-12-06 20:01:28 +08:00
..
autocmd_spec.lua fix(events): don't expand args.file for Lua callback (#31473) 2024-12-06 20:01:28 +08:00
buffer_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
buffer_updates_spec.lua test(api/buffer_updates_spec): prevent flakiness (#30521) 2024-09-26 18:34:35 +08:00
command_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
extmark_spec.lua fix(messages)!: vim.ui_attach message callbacks are unsafe 2024-11-14 13:23:11 +01:00
highlight_spec.lua fix(api): make nvim_set_hl() respect all cterm attributes (#31390) 2024-12-02 08:24:58 +08:00
keymap_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
menu_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
proc_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
rpc_fixture.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
server_notifications_spec.lua feat(api): broadcast events to ALL channels #28487 2024-05-17 07:37:39 -07:00
server_requests_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
tabpage_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
ui_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
version_spec.lua test(version_spec): expect vim.NIL, not nil, for "build" if not in a git clone 2024-12-03 06:31:09 -05:00
vim_spec.lua fix(api): don't try to get/set option for invalid option name (#31302) 2024-11-22 20:32:51 +08:00
window_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00