aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2021-11-27 13:11:41 -0700
committerGitHub <noreply@github.com>2021-11-27 13:11:41 -0700
commit07223fae54b5b8095da16c598fc1395ec3677691 (patch)
tree32a09fea31ca98396f30b655c0c68deb71dce6ff /test/functional
parent03d250eb4504d5168a754d0f3b7e9992337d60b4 (diff)
parent6e30461cea4ff9e51088875f82b0c8c78d939fbd (diff)
downloadrneovim-07223fae54b5b8095da16c598fc1395ec3677691.tar.gz
rneovim-07223fae54b5b8095da16c598fc1395ec3677691.tar.bz2
rneovim-07223fae54b5b8095da16c598fc1395ec3677691.zip
Merge pull request #16455 from gpanders/diag-set
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/lua/diagnostic_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/diagnostic_spec.lua b/test/functional/lua/diagnostic_spec.lua
index e1439bfdb4..ba2f6db5e0 100644
--- a/test/functional/lua/diagnostic_spec.lua
+++ b/test/functional/lua/diagnostic_spec.lua
@@ -357,7 +357,7 @@ describe('vim.diagnostic', function()
it("doesn't error after bwipeout on buffer", function()
exec_lua [[
- vim.diagnostic.set(diagnostic_ns, diagnostic_bufnr, { lnum = 0, end_lnum = 0, col = 0, end_col = 0 })
+ vim.diagnostic.set(diagnostic_ns, diagnostic_bufnr, {{ lnum = 0, end_lnum = 0, col = 0, end_col = 0 }})
vim.cmd("bwipeout! " .. diagnostic_bufnr)
vim.diagnostic.show(diagnostic_ns)
@@ -653,7 +653,7 @@ describe('vim.diagnostic', function()
it("doesn't error after bwipeout called on buffer", function()
exec_lua [[
- vim.diagnostic.set(diagnostic_ns, diagnostic_bufnr, { lnum = 0, end_lnum = 0, col = 0, end_col = 0 })
+ vim.diagnostic.set(diagnostic_ns, diagnostic_bufnr, {{ lnum = 0, end_lnum = 0, col = 0, end_col = 0 }})
vim.cmd("bwipeout! " .. diagnostic_bufnr)
vim.diagnostic.reset(diagnostic_ns)