diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-05 08:18:36 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-05-05 09:19:06 +0800 |
commit | b8d5586d5b0d1e2d25533ee398d16bb2e8412820 (patch) | |
tree | e2e229c61a4673297a2ed538f3924317fbcc5fb8 /test/functional | |
parent | 75119fcc86e055895af824f7fdbba2f42c1cbbe8 (diff) | |
download | rneovim-b8d5586d5b0d1e2d25533ee398d16bb2e8412820.tar.gz rneovim-b8d5586d5b0d1e2d25533ee398d16bb2e8412820.tar.bz2 rneovim-b8d5586d5b0d1e2d25533ee398d16bb2e8412820.zip |
refactor: using a different error number for 'mousescroll'
Because E548 is linked to 'guicursor' in help.
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/options/mousescroll_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/options/mousescroll_spec.lua b/test/functional/options/mousescroll_spec.lua index 5bff45a836..38a9692792 100644 --- a/test/functional/options/mousescroll_spec.lua +++ b/test/functional/options/mousescroll_spec.lua @@ -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)) |