diff options
author | ZyX <kp-pav@yandex.ru> | 2017-12-10 22:34:32 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-12-10 22:34:32 +0300 |
commit | 0b03ac2cb2399a850bb71d8c0a76d0893bf503cb (patch) | |
tree | 3ebd0206b74f6d1e6a5f03c827c496160eb33b8f | |
parent | 83f77c80c084a0390b5a6efd364b33620c9f3d10 (diff) | |
download | rneovim-0b03ac2cb2399a850bb71d8c0a76d0893bf503cb.tar.gz rneovim-0b03ac2cb2399a850bb71d8c0a76d0893bf503cb.tar.bz2 rneovim-0b03ac2cb2399a850bb71d8c0a76d0893bf503cb.zip |
functests: Mark islocked("v:_null_list") behaviour correct
It is the same for other VAR_FIXED lists.
-rw-r--r-- | test/functional/eval/null_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/eval/null_spec.lua b/test/functional/eval/null_spec.lua index 3f3217649b..1c1dd6fd79 100644 --- a/test/functional/eval/null_spec.lua +++ b/test/functional/eval/null_spec.lua @@ -46,10 +46,9 @@ describe('NULL', function() null_expr_test('is equal to empty list', 'L == []', 0, 0) -- FIXME Should return 1 null_expr_test('is equal to empty list (reverse order)', '[] == L', 0, 0) - -- FIXME Should return 1 - null_expr_test('is not locked', 'islocked("v:_null_list")', 0, 0) -- Correct behaviour + null_expr_test('is not locked', 'islocked("v:_null_list")', 0, 0) null_test('is accepted by :for', 'for x in L|throw x|endfor', 0) null_expr_test('does not crash append()', 'append(1, L)', 0, 0, function() eq({''}, curbufmeths.get_lines(0, -1, false)) |