diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-01-03 02:09:18 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2024-01-03 02:09:29 +0100 |
commit | 04f2f864e270e772c6326cefdf24947f0130e492 (patch) | |
tree | 46f83f909b888a66c741032ab955afc6eab84292 /test/functional/options/mousescroll_spec.lua | |
parent | 59d117ec99b6037cb9fad5bbfb6d0b18f5012927 (diff) | |
download | rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.gz rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.bz2 rneovim-04f2f864e270e772c6326cefdf24947f0130e492.zip |
refactor: format test/*
Diffstat (limited to 'test/functional/options/mousescroll_spec.lua')
-rw-r--r-- | test/functional/options/mousescroll_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/options/mousescroll_spec.lua b/test/functional/options/mousescroll_spec.lua index 38a9692792..96af8987b8 100644 --- a/test/functional/options/mousescroll_spec.lua +++ b/test/functional/options/mousescroll_spec.lua @@ -23,11 +23,11 @@ describe("'mousescroll'", function() local digit_expected = 'Vim(set):E5080: Digit expected: mousescroll=' local function should_fail(val, errorstr) - eq(errorstr..val, exc_exec('set mousescroll='..val)) + eq(errorstr .. val, exc_exec('set mousescroll=' .. val)) end local function should_succeed(val) - eq(0, exc_exec('set mousescroll='..val)) + eq(0, exc_exec('set mousescroll=' .. val)) end before_each(function() @@ -147,15 +147,15 @@ describe("'mousescroll'", function() command('set mousescroll=hor:1') scroll('right') - eq(9, screencol()) + eq(9, screencol()) command('set mousescroll=hor:3') scroll('right') - eq(6, screencol()) + eq(6, screencol()) command('set mousescroll=hor:2') scroll('left') - eq(8, screencol()) + eq(8, screencol()) end it('controls horizontal scrolling in normal mode', function() |