diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-06-09 23:49:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 23:49:02 +0200 |
commit | fd7e77b2277d884c51bc6f0bd70c0e6e7a307bc1 (patch) | |
tree | 4dc097f548cb02be21c16d50e2cdc641ac8accb3 /test/functional/lua/buffer_updates_spec.lua | |
parent | 93f15db5d61800a2029aa20684be31c96ebcca5b (diff) | |
parent | a15c2cbab68821cb0ecd20636c9008bac62c9878 (diff) | |
download | rneovim-fd7e77b2277d884c51bc6f0bd70c0e6e7a307bc1.tar.gz rneovim-fd7e77b2277d884c51bc6f0bd70c0e6e7a307bc1.tar.bz2 rneovim-fd7e77b2277d884c51bc6f0bd70c0e6e7a307bc1.zip |
Merge pull request #14757 from jbyuki/open_line_changed_bytes
fix: changed byte ranges for indented lines
Diffstat (limited to 'test/functional/lua/buffer_updates_spec.lua')
-rw-r--r-- | test/functional/lua/buffer_updates_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/lua/buffer_updates_spec.lua b/test/functional/lua/buffer_updates_spec.lua index 54e10fabd6..1b2c21783e 100644 --- a/test/functional/lua/buffer_updates_spec.lua +++ b/test/functional/lua/buffer_updates_spec.lua @@ -401,8 +401,8 @@ describe('lua: nvim_buf_attach on_bytes', function() } feed '<cr>' check_events { - { "test1", "bytes", 1, 4, 8, 0, 115, 0, 4, 4, 0, 0, 0 }; - { "test1", "bytes", 1, 5, 7, 4, 118, 0, 0, 0, 1, 4, 5 }; + { "test1", "bytes", 1, 4, 7, 0, 114, 0, 4, 4, 0, 0, 0 }; + { "test1", "bytes", 1, 5, 7, 0, 114, 0, 0, 0, 1, 4, 5 }; } end) @@ -447,8 +447,8 @@ describe('lua: nvim_buf_attach on_bytes', function() feed '<CR>' check_events { - { "test1", "bytes", 1, 6, 2, 2, 16, 0, 1, 1, 0, 0, 0 }; - { "test1", "bytes", 1, 7, 1, 3, 14, 0, 0, 0, 1, 3, 4 }; + { "test1", "bytes", 1, 6, 1, 2, 13, 0, 1, 1, 0, 0, 0 }; + { "test1", "bytes", 1, 7, 1, 2, 13, 0, 0, 0, 1, 3, 4 }; } end) |