aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/special_vars_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-02-06 20:54:42 +0300
committerZyX <kp-pav@yandex.ru>2016-04-18 02:46:34 +0300
commit0aa3e7b7ceb259680f9da31bd247b42cdc934449 (patch)
tree481fac701a902ed0855d0fe35a667b44c7688221 /test/functional/eval/special_vars_spec.lua
parentb7cb8f0597c42f209ec460a1850df53bd655c81c (diff)
downloadrneovim-0aa3e7b7ceb259680f9da31bd247b42cdc934449.tar.gz
rneovim-0aa3e7b7ceb259680f9da31bd247b42cdc934449.tar.bz2
rneovim-0aa3e7b7ceb259680f9da31bd247b42cdc934449.zip
eval: Port parts of 7.4.1267 that are not already present
Diffstat (limited to 'test/functional/eval/special_vars_spec.lua')
-rw-r--r--test/functional/eval/special_vars_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/eval/special_vars_spec.lua b/test/functional/eval/special_vars_spec.lua
index 7539261d49..b003dceb04 100644
--- a/test/functional/eval/special_vars_spec.lua
+++ b/test/functional/eval/special_vars_spec.lua
@@ -147,9 +147,9 @@ describe('Special values', function()
end)
it('fails in index', function()
- eq('Vim(echo):E15: Cannot index a special value', exc_exec('echo v:true[0]'))
- eq('Vim(echo):E15: Cannot index a special value', exc_exec('echo v:false[0]'))
- eq('Vim(echo):E15: Cannot index a special value', exc_exec('echo v:null[0]'))
+ eq('Vim(echo):E909: Cannot index a special variable', exc_exec('echo v:true[0]'))
+ eq('Vim(echo):E909: Cannot index a special variable', exc_exec('echo v:false[0]'))
+ eq('Vim(echo):E909: Cannot index a special variable', exc_exec('echo v:null[0]'))
end)
it('is accepted by assert_true and assert_false', function()