mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 18:41:48 +00:00
refactor: using a different error number for 'mousescroll'
Because E548 is linked to 'guicursor' in help.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user