mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 07:41:27 +00:00
vim-patch:7.4.1168 (#19645)
Problem: This doesn't give the right result: eval(string(v:true)). (Nikolay
Pavlov)
Solution: Make the string "v:true" instead of "true".
f48aa160fd
This commit is contained in:
@@ -125,9 +125,9 @@ describe('Special values', function()
|
||||
end)
|
||||
|
||||
it('work with . (concat) properly', function()
|
||||
eq("true", eval('"" . v:true'))
|
||||
eq("null", eval('"" . v:null'))
|
||||
eq("false", eval('"" . v:false'))
|
||||
eq("v:true", eval('"" . v:true'))
|
||||
eq("v:null", eval('"" . v:null'))
|
||||
eq("v:false", eval('"" . v:false'))
|
||||
end)
|
||||
|
||||
it('work with type()', function()
|
||||
|
||||
Reference in New Issue
Block a user