neovim/test/functional/lua
Justin M. Keyes e0d92b9cc2
fix(vim.ui)!: change open() to return pcall-like values #28502
Problem:
`vim.ui.open` unnecessarily invents a different success/failure
convention. Its return type was changed in 57adf8c6e0, so we might as
well change it to have a more conventional form.

Solution:
Change the signature to use the `pcall` convention of `status, result`.
2024-04-25 04:15:58 -07:00
..
api_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
base64_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
buffer_updates_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
command_line_completion_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
commands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
comment_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
diagnostic_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
ffi_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
filetype_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
fs_spec.lua feat(fs): add vim.fs.root (#28477) 2024-04-24 21:43:46 -05:00
glob_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
highlight_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
inspector_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
iter_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
json_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
loader_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
loop_spec.lua fix(lua): vim.fn.has('nvim-0.10') in fast context, used by vim.deprecate 2024-04-25 08:37:18 +02:00
luaeval_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
mpack_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
overrides_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
runtime_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
secure_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
snippet_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
spell_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
system_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
text_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
thread_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
ui_event_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
ui_spec.lua fix(vim.ui)!: change open() to return pcall-like values #28502 2024-04-25 04:15:58 -07:00
uri_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
version_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
vim_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
watch_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
xdiff_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00