aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.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/helpers.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/helpers.lua')
-rw-r--r--test/functional/helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 55c97d451b..4e294029ab 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -320,7 +320,7 @@ local function curbuf_contents()
-- previously sent keys are processed(vim_eval is a deferred function, and
-- only processed after all input)
wait()
- return table.concat(curbuf('get_line_slice', 0, -1, true, true), '\n')
+ return table.concat(curbuf('get_lines', 0, -1, true), '\n')
end
local function curwin(method, ...)