aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/edit_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2016-04-01 16:56:30 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2016-04-01 16:56:30 +0200
commit28d3def5b0f0e6941b8d14c80392470707c2b1fb (patch)
treeb1c2f32a604410924dbeff121b72984d3de12f23 /test/functional/terminal/edit_spec.lua
parentb8643f69c192c32160a9f2ce7936afbe885b01e7 (diff)
parent6eda7c0e5f934d3387805033c6404b5ac2dcbd7d (diff)
downloadrneovim-28d3def5b0f0e6941b8d14c80392470707c2b1fb.tar.gz
rneovim-28d3def5b0f0e6941b8d14c80392470707c2b1fb.tar.bz2
rneovim-28d3def5b0f0e6941b8d14c80392470707c2b1fb.zip
Merge pull request #4083 from bfredl/oob
api/buffer: add get/set_lines with more flexible out-of-bounds handling and deprecate the line_slice functions
Diffstat (limited to 'test/functional/terminal/edit_spec.lua')
-rw-r--r--test/functional/terminal/edit_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/terminal/edit_spec.lua b/test/functional/terminal/edit_spec.lua
index 6da1521121..dcc4a54610 100644
--- a/test/functional/terminal/edit_spec.lua
+++ b/test/functional/terminal/edit_spec.lua
@@ -70,6 +70,6 @@ describe(':edit term://*', function()
end
exp_screen = exp_screen .. (' '):rep(columns) .. '|\n'
scr:expect(exp_screen)
- eq(bufcontents, curbufmeths.get_line_slice(1, -1, true, true))
+ eq(bufcontents, curbufmeths.get_lines(1, -1, true))
end)
end)