diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-10 22:40:08 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-12 19:13:28 -0400 |
commit | dad725d5e578c5dbef5a0bf503fa1b41aaf3ff6b (patch) | |
tree | fd9c07e62df7c3e9653f3076f4b14bb7602c7420 /test/functional/eval/null_spec.lua | |
parent | 89e29e8774ed953048ab746d4a83a6f08d850d17 (diff) | |
download | rneovim-dad725d5e578c5dbef5a0bf503fa1b41aaf3ff6b.tar.gz rneovim-dad725d5e578c5dbef5a0bf503fa1b41aaf3ff6b.tar.bz2 rneovim-dad725d5e578c5dbef5a0bf503fa1b41aaf3ff6b.zip |
vim-patch:8.1.1967: line() only works for the current window
Problem: Line() only works for the current window.
Solution: Add an optional argument for the window to use.
https://github.com/vim/vim/commit/8e0a8e7eb7c177807f44db6b76d8e52314248ab5
Diffstat (limited to 'test/functional/eval/null_spec.lua')
-rw-r--r-- | test/functional/eval/null_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/eval/null_spec.lua b/test/functional/eval/null_spec.lua index d403fbc878..4f29811095 100644 --- a/test/functional/eval/null_spec.lua +++ b/test/functional/eval/null_spec.lua @@ -73,6 +73,7 @@ describe('NULL', function() null_expr_test('does not crash col()', 'col(L)', 0, 0) null_expr_test('does not crash virtcol()', 'virtcol(L)', 0, 0) null_expr_test('does not crash line()', 'line(L)', 0, 0) + null_expr_test('does not crash line() with window id', 'line(L, 1000)', 0, 0) null_expr_test('does not crash count()', 'count(L, 1)', 0, 0) null_expr_test('does not crash cursor()', 'cursor(L)', 'E474: Invalid argument', -1) null_expr_test('does not crash map()', 'map(L, "v:val")', 0, {}) |