aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/null_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-12-10 22:04:43 +0300
committerZyX <kp-pav@yandex.ru>2017-12-10 22:04:43 +0300
commitac4bbf55f6d6b9b252dd90fe800626850022b690 (patch)
tree41535a05962e9c04bb2d955abebc61aa87ca2bca /test/functional/eval/null_spec.lua
parent5c1ddb5078c90f69c7225a7b2e74ccb914dcdd6a (diff)
downloadrneovim-ac4bbf55f6d6b9b252dd90fe800626850022b690.tar.gz
rneovim-ac4bbf55f6d6b9b252dd90fe800626850022b690.tar.bz2
rneovim-ac4bbf55f6d6b9b252dd90fe800626850022b690.zip
*: Hide list implementation in other files as well
Diffstat (limited to 'test/functional/eval/null_spec.lua')
-rw-r--r--test/functional/eval/null_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/eval/null_spec.lua b/test/functional/eval/null_spec.lua
index 7452185208..d85f5297d2 100644
--- a/test/functional/eval/null_spec.lua
+++ b/test/functional/eval/null_spec.lua
@@ -118,6 +118,8 @@ describe('NULL', function()
null_expr_test('does not crash setreg', 'setreg("x", L)', 0, 0)
null_expr_test('does not crash systemlist()', 'systemlist("cat", L)', 0, {})
null_expr_test('does not crash setline', 'setline(1, L)', 0, 0)
+ null_test('does not make Neovim crash when v:oldfiles gets assigned to that', ':let v:oldfiles = L|oldfiles', 0)
+ -- FIXME Add test for complete(, L)
end)
describe('dict', function()
it('does not crash when indexing NULL dict', function()