test: big cleanup followup

Followup to 07a7c0ec
This commit is contained in:
Lewis Russell
2024-01-15 16:10:51 +00:00
parent b3e5587b7f
commit b536e0ba37
10 changed files with 73 additions and 85 deletions

View File

@@ -314,13 +314,13 @@ describe('context functions', function()
}
local with_jumps = {
['jumps'] = eval(([[
['jumps'] = eval((([[
filter(map(add(
getjumplist()[0], { 'bufnr': bufnr('%'), 'lnum': getcurpos()[1] }),
'filter(
{ "f": expand("#".v:val.bufnr.":p"), "l": v:val.lnum },
{ k, v -> k != "l" || v != 1 })'), '!empty(v:val.f)')
]]):gsub('\n', '')),
]]):gsub('\n', ''))),
}
local with_bufs = {