Merge #6513 from ZyX-I/lazier-arg_errmsg-gettext

This commit is contained in:
Justin M. Keyes
2017-04-23 01:02:39 +02:00
committed by GitHub
5 changed files with 143 additions and 76 deletions

View File

@@ -2450,6 +2450,10 @@ describe('typval.c', function()
'E741: Value is locked: Unknown'))
eq(true, tv_check_lock(lib.VAR_FIXED, nil, 0,
'E742: Cannot change value of Unknown'))
eq(true, tv_check_lock(lib.VAR_LOCKED, nil, lib.kTVCstring,
'E741: Value is locked: Unknown'))
eq(true, tv_check_lock(lib.VAR_FIXED, 'test', lib.kTVCstring,
'E742: Cannot change value of test'))
end)
end)
describe('equal()', function()