diff options
author | ZyX <kp-pav@yandex.ru> | 2017-10-15 21:16:27 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-10-15 21:16:27 +0300 |
commit | 76f0466536757fdc7306f92061017b8d51f0ef09 (patch) | |
tree | aa6334c6afa44ed55c8b60ff869c59744efad993 /test/functional/eval | |
parent | 3aa2c0d63ae488e302a89fdcdd650404cb2670fd (diff) | |
parent | 3e502fd7d67f01f8f8e3006da255d3fba40ee961 (diff) | |
download | rneovim-76f0466536757fdc7306f92061017b8d51f0ef09.tar.gz rneovim-76f0466536757fdc7306f92061017b8d51f0ef09.tar.bz2 rneovim-76f0466536757fdc7306f92061017b8d51f0ef09.zip |
Merge branch 'master' into expression-parser
Diffstat (limited to 'test/functional/eval')
-rw-r--r-- | test/functional/eval/input_spec.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/functional/eval/input_spec.lua b/test/functional/eval/input_spec.lua index 5ae23e17d0..1e6b107c60 100644 --- a/test/functional/eval/input_spec.lua +++ b/test/functional/eval/input_spec.lua @@ -239,6 +239,25 @@ describe('input()', function() {RBP1:(}{RBP2:()}{RBP1:)}^ | ]]) end) + it('is not hidden by :silent', function() + feed([[:silent call input('Foo: ')<CR>]]) + screen:expect([[ + {EOB:~ }| + {EOB:~ }| + {EOB:~ }| + Foo: ^ | + | + ]]) + feed('Bar') + screen:expect([[ + {EOB:~ }| + {EOB:~ }| + {EOB:~ }| + Foo: Bar^ | + | + ]]) + feed('<CR>') + end) end) describe('inputdialog()', function() it('works with multiline prompts', function() |