Merge pull request #26486 from glepnir/fix_linebyte

fix(eval): use no_ff instead of ffdos as condition
This commit is contained in:
bfredl
2023-12-12 11:57:56 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -1834,6 +1834,7 @@ describe('api/buf', function()
it('works in empty buffer', function()
eq(0, get_offset(0))
eq(1, get_offset(1))
eq(-1, funcs.line2byte('$'))
end)
it('works in buffer with one line inserted', function()