aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/diagnostic_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-11 22:23:14 +0800
committerGitHub <noreply@github.com>2024-03-11 22:23:14 +0800
commit1da0f3494eb042c84ae5f00654878f7f8cedf3b7 (patch)
tree6f0ffb0220113945b77308c01842446d1f12fcc2 /test/functional/lua/diagnostic_spec.lua
parent0f20b7d803779950492c2838e2b042a38f4ee22f (diff)
downloadrneovim-1da0f3494eb042c84ae5f00654878f7f8cedf3b7.tar.gz
rneovim-1da0f3494eb042c84ae5f00654878f7f8cedf3b7.tar.bz2
rneovim-1da0f3494eb042c84ae5f00654878f7f8cedf3b7.zip
test: correct order of arguments to eq() (#27816)
Diffstat (limited to 'test/functional/lua/diagnostic_spec.lua')
-rw-r--r--test/functional/lua/diagnostic_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/diagnostic_spec.lua b/test/functional/lua/diagnostic_spec.lua
index 5802925339..716c1e0f30 100644
--- a/test/functional/lua/diagnostic_spec.lua
+++ b/test/functional/lua/diagnostic_spec.lua
@@ -205,7 +205,7 @@ describe('vim.diagnostic', function()
diag[1].col = 10000
return vim.diagnostic.get()[1].col == 10000
]]
- eq(result, false)
+ eq(false, result)
end)
it('resolves buffer number 0 to the current buffer', function()