aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/thread_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/thread_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/thread_spec.lua')
-rw-r--r--test/functional/lua/thread_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/thread_spec.lua b/test/functional/lua/thread_spec.lua
index c1981e19d4..9bbee73e27 100644
--- a/test/functional/lua/thread_spec.lua
+++ b/test/functional/lua/thread_spec.lua
@@ -166,7 +166,7 @@ describe('thread', function()
]]
local msg = next_msg()
- eq(msg[1], 'notification')
+ eq('notification', msg[1])
assert(tonumber(msg[2]) >= 72961)
end)
@@ -327,7 +327,7 @@ describe('threadpool', function()
]]
local msg = next_msg()
- eq(msg[1], 'notification')
+ eq('notification', msg[1])
assert(tonumber(msg[2]) >= 72961)
end)