diff options
Diffstat (limited to 'test/functional/eval/input_spec.lua')
-rw-r--r-- | test/functional/eval/input_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/eval/input_spec.lua b/test/functional/eval/input_spec.lua index 2eaadad18f..74ad32bc6c 100644 --- a/test/functional/eval/input_spec.lua +++ b/test/functional/eval/input_spec.lua @@ -59,7 +59,7 @@ describe('input()', function() {T:Foo}^ | ]]) end) - it('works correctly with multiple numeric arguments (many args)', function() + it('allows unequal numeric arguments when using multiple args', function() command('echohl Test') feed([[:call input(1, 2)<CR>]]) screen:expect([[ @@ -78,7 +78,7 @@ describe('input()', function() {T:1}^ | ]]) end) - it('works correctly with multiple numeric arguments (dict arg)', function() + it('allows unequal numeric values when using {opts} dictionary', function() command('echohl Test') meths.set_var('opts', {prompt=1, default=2, cancelreturn=3}) feed([[:echo input(opts)<CR>]]) @@ -226,7 +226,7 @@ describe('inputdialog()', function() {T:Foo}^ | ]]) end) - it('works correctly with multiple numeric arguments (many args)', function() + it('allows unequal numeric arguments when using multiple args', function() command('echohl Test') feed([[:call inputdialog(1, 2)<CR>]]) screen:expect([[ @@ -245,7 +245,7 @@ describe('inputdialog()', function() {T:1}^ | ]]) end) - it('works correctly with multiple numeric arguments (dict arg)', function() + it('allows unequal numeric values when using {opts} dictionary', function() command('echohl Test') meths.set_var('opts', {prompt=1, default=2, cancelreturn=3}) feed([[:echo input(opts)<CR>]]) |