diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-11-14 10:01:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 10:01:35 +0000 |
commit | e8cc489accc435076afb4fdf89778b64f0a48473 (patch) | |
tree | 78b5a74c13cefb916752f25cf42e301a400fcab2 /test/functional/lua/diagnostic_spec.lua | |
parent | 5c5187c6f809c50e2cfd0ba04961ae8e0d2dabd0 (diff) | |
download | rneovim-e8cc489accc435076afb4fdf89778b64f0a48473.tar.gz rneovim-e8cc489accc435076afb4fdf89778b64f0a48473.tar.bz2 rneovim-e8cc489accc435076afb4fdf89778b64f0a48473.zip |
feat(test): add Lua forms for API methods (#20152)
Diffstat (limited to 'test/functional/lua/diagnostic_spec.lua')
-rw-r--r-- | test/functional/lua/diagnostic_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/diagnostic_spec.lua b/test/functional/lua/diagnostic_spec.lua index 28a8679205..565243d5a0 100644 --- a/test/functional/lua/diagnostic_spec.lua +++ b/test/functional/lua/diagnostic_spec.lua @@ -1776,7 +1776,7 @@ end) return lines ]]) - eq("Error executing lua: .../diagnostic.lua:0: prefix: expected 'string' or 'table' or 'function', got 42", + eq(".../diagnostic.lua:0: prefix: expected 'string' or 'table' or 'function', got 42", pcall_err(exec_lua, [[ vim.diagnostic.open_float({ prefix = 42 }) ]])) end) |