test: correct order of arguments to eq() and neq()

This commit is contained in:
zeertzjq
2022-04-26 11:35:05 +08:00
parent 5d159a7faa
commit 519e4c4472
14 changed files with 101 additions and 101 deletions

View File

@@ -63,9 +63,9 @@ describe('API', function()
local pid = funcs.getpid()
local pinfo = request('nvim_get_proc', pid)
eq((iswin() and 'nvim.exe' or 'nvim'), pinfo.name)
eq(pinfo.pid, pid)
eq(type(pinfo.ppid), 'number')
neq(pinfo.ppid, pid)
eq(pid, pinfo.pid)
eq('number', type(pinfo.ppid))
neq(pid, pinfo.ppid)
end)
it('validates input', function()