neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 25bd2782a5f7cd6cec32d5d592a814951045a71b
parent e5d96a69fd969ab15f866eba1bf4c141728b4f2e
Author: James McCoy <jamessan@jamessan.com>
Date:   Tue, 26 Nov 2024 21:07:28 -0500

test(version_spec): expect vim.NIL, not nil, for "build" if not in a git clone

Diffstat:
Mtest/functional/api/version_spec.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/functional/api/version_spec.lua b/test/functional/api/version_spec.lua @@ -43,7 +43,7 @@ describe("api_info()['version']", function() eq(0, fn.has('nvim-' .. major .. '.' .. minor .. '.' .. (patch + 1))) eq(0, fn.has('nvim-' .. major .. '.' .. (minor + 1) .. '.' .. patch)) eq(0, fn.has('nvim-' .. (major + 1) .. '.' .. minor .. '.' .. patch)) - assert(build == nil or type(build) == 'string') + assert(build == vim.NIL or type(build) == 'string') end) end)