diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-12-12 11:57:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 11:57:56 +0100 |
commit | e69834744ba550100778890d0b4ecfc3c469af15 (patch) | |
tree | 395eed558c5abec6887c06866143618d6a6ffaf2 /test/functional/api/buffer_spec.lua | |
parent | 2d33a766a17b7304686fc00eec2b2e0ce49400ba (diff) | |
parent | d95e3a4c9c8f468158a1f1f23921ebbaae75cf8b (diff) | |
download | rneovim-e69834744ba550100778890d0b4ecfc3c469af15.tar.gz rneovim-e69834744ba550100778890d0b4ecfc3c469af15.tar.bz2 rneovim-e69834744ba550100778890d0b4ecfc3c469af15.zip |
Merge pull request #26486 from glepnir/fix_linebyte
fix(eval): use no_ff instead of ffdos as condition
Diffstat (limited to 'test/functional/api/buffer_spec.lua')
-rw-r--r-- | test/functional/api/buffer_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/api/buffer_spec.lua b/test/functional/api/buffer_spec.lua index db910545ef..b618bf0e6c 100644 --- a/test/functional/api/buffer_spec.lua +++ b/test/functional/api/buffer_spec.lua @@ -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() |