refactor: using a different error number for 'mousescroll'

Because E548 is linked to 'guicursor' in help.
This commit is contained in:
zeertzjq
2023-05-05 08:18:36 +08:00
parent 75119fcc86
commit b8d5586d5b
3 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ end
describe("'mousescroll'", function()
local invalid_arg = 'Vim(set):E474: Invalid argument: mousescroll='
local digit_expected = 'Vim(set):E548: digit expected: mousescroll='
local digit_expected = 'Vim(set):E5080: Digit expected: mousescroll='
local function should_fail(val, errorstr)
eq(errorstr..val, exc_exec('set mousescroll='..val))