aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/special_vars_spec.lua
diff options
context:
space:
mode:
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()