diff options
| author | b-r-o-c-k <brockmammen@gmail.com> | 2018-04-14 14:17:51 -0500 | 
|---|---|---|
| committer | b-r-o-c-k <brockmammen@gmail.com> | 2018-04-14 14:17:51 -0500 | 
| commit | ad999eaa775d7d4b0cacedb30c6ea3a0ee699a6f (patch) | |
| tree | 92de2079e80f5f289dd87a54af123cb7d90c3058 /test/functional/eval/input_spec.lua | |
| parent | 78bc52ea5397c092d01cd08296fe1dc85d998329 (diff) | |
| parent | ef4feab0e75be19c5f41d70a001db980b72090f5 (diff) | |
| download | rneovim-ad999eaa775d7d4b0cacedb30c6ea3a0ee699a6f.tar.gz rneovim-ad999eaa775d7d4b0cacedb30c6ea3a0ee699a6f.tar.bz2 rneovim-ad999eaa775d7d4b0cacedb30c6ea3a0ee699a6f.zip  | |
Merge branch 'master' into s-dash-stdin
Diffstat (limited to 'test/functional/eval/input_spec.lua')
| -rw-r--r-- | test/functional/eval/input_spec.lua | 25 | 
1 files changed, 13 insertions, 12 deletions
diff --git a/test/functional/eval/input_spec.lua b/test/functional/eval/input_spec.lua index 1e6b107c60..777f49462d 100644 --- a/test/functional/eval/input_spec.lua +++ b/test/functional/eval/input_spec.lua @@ -58,6 +58,7 @@ before_each(function()      RBP2={background=Screen.colors.Yellow},      RBP3={background=Screen.colors.Green},      RBP4={background=Screen.colors.Blue}, +    SEP={bold = true, reverse = true},    })  end) @@ -65,9 +66,9 @@ describe('input()', function()    it('works with multiline prompts', function()      feed([[:call input("Test\nFoo")<CR>]])      screen:expect([[ +                               |        {EOB:~                        }| -      {EOB:~                        }| -      {EOB:~                        }| +      {SEP:                         }|        Test                     |        Foo^                      |      ]]) @@ -75,9 +76,9 @@ describe('input()', function()    it('works with multiline prompts and :echohl', function()      feed([[:echohl Test | call input("Test\nFoo")<CR>]])      screen:expect([[ +                               |        {EOB:~                        }| -      {EOB:~                        }| -      {EOB:~                        }| +      {SEP:                         }|        {T:Test}                     |        {T:Foo}^                      |      ]]) @@ -242,17 +243,17 @@ describe('input()', function()    it('is not hidden by :silent', function()      feed([[:silent call input('Foo: ')<CR>]])      screen:expect([[ +                               |        {EOB:~                        }| -      {EOB:~                        }| -      {EOB:~                        }| +      {SEP:                         }|        Foo: ^                    |                                 |      ]])      feed('Bar')      screen:expect([[ +                               |        {EOB:~                        }| -      {EOB:~                        }| -      {EOB:~                        }| +      {SEP:                         }|        Foo: Bar^                 |                                 |      ]]) @@ -263,9 +264,9 @@ describe('inputdialog()', function()    it('works with multiline prompts', function()      feed([[:call inputdialog("Test\nFoo")<CR>]])      screen:expect([[ +                               |        {EOB:~                        }| -      {EOB:~                        }| -      {EOB:~                        }| +      {SEP:                         }|        Test                     |        Foo^                      |      ]]) @@ -273,9 +274,9 @@ describe('inputdialog()', function()    it('works with multiline prompts and :echohl', function()      feed([[:echohl Test | call inputdialog("Test\nFoo")<CR>]])      screen:expect([[ +                               |        {EOB:~                        }| -      {EOB:~                        }| -      {EOB:~                        }| +      {SEP:                         }|        {T:Test}                     |        {T:Foo}^                      |      ]])  | 
