Skip to content

Commit d93422d

Browse files
committed
tests: return value correctly
1 parent a409fd4 commit d93422d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/snippy_spec.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ describe('Snippy', function()
907907
end)
908908

909909
it('virtual markers', function()
910-
if exec_lua([[vim.fn.has('nvim-0.10')]]) == 0 then
910+
if exec_lua([[return vim.fn.has('nvim-0.10')]]) == 0 then
911911
return
912912
end
913913
command('set filetype=lua')
@@ -941,7 +941,7 @@ describe('Snippy', function()
941941
end)
942942

943943
it('virtual markers with numbers', function()
944-
if exec_lua([[vim.fn.has('nvim-0.10')]]) == 0 then
944+
if exec_lua([[return vim.fn.has('nvim-0.10')]]) == 0 then
945945
return
946946
end
947947
command('set filetype=lua')

0 commit comments

Comments
 (0)