fix(meta): do not use hyphens in param names

Fixes #30882
This commit is contained in:
Lewis Russell
2024-10-21 11:36:02 +01:00
committed by Lewis Russell
parent 3572319b4c
commit c8e47f6480
3 changed files with 14 additions and 14 deletions

View File

@ -326,17 +326,17 @@ M.funcs = {
args = { 2, 3 },
base = 1,
desc = [=[
When the files {fname-one} and {fname-two} do not contain
When the files {fname_one} and {fname_two} do not contain
exactly the same text an error message is added to |v:errors|.
Also see |assert-return|.
When {fname-one} or {fname-two} does not exist the error will
When {fname_one} or {fname_two} does not exist the error will
mention that.
]=],
name = 'assert_equalfile',
params = { { 'fname-one', 'string' }, { 'fname-two', 'string' } },
params = { { 'fname_one', 'string' }, { 'fname_two', 'string' } },
returns = '0|1',
signature = 'assert_equalfile({fname-one}, {fname-two})',
signature = 'assert_equalfile({fname_one}, {fname_two})',
},
assert_exception = {
args = { 1, 2 },