1
0
forked from aniani/vim

patch 8.2.2195: failing tests for :const

Problem:    Failing tests for :const.
Solution:   Add missing check for ASSIGN_FINAL.
This commit is contained in:
Bram Moolenaar
2020-12-22 22:07:30 +01:00
parent 89b474dd4f
commit 1dcf55d4f1
4 changed files with 8 additions and 8 deletions

View File

@@ -1032,7 +1032,7 @@ def Test_vim9script_call_fail_const()
call Change()
unlet g:Aconst
END
CheckScriptFailure(lines, 'E1122: Variable is locked: Aconst', 2)
CheckScriptFailure(lines, 'E741: Value is locked: Aconst', 2)
enddef
" Test that inside :function a Python function can be defined, :def is not