functests: Remove “correctly” from non-regression tests

This commit is contained in:
ZyX
2017-05-13 17:04:54 +03:00
parent d66ef56739
commit 9906db985d

View File

@@ -31,7 +31,7 @@ before_each(function()
end) end)
describe('input()', function() describe('input()', function()
it('works correctly with multiline prompts', function() it('works with multiline prompts', function()
feed([[:call input("Test\nFoo")<CR>]]) feed([[:call input("Test\nFoo")<CR>]])
screen:expect([[ screen:expect([[
{EOB:~ }| {EOB:~ }|
@@ -41,7 +41,7 @@ describe('input()', function()
Foo^ | Foo^ |
]]) ]])
end) end)
it('works correctly with multiline prompts and :echohl', function() it('works with multiline prompts and :echohl', function()
feed([[:echohl Test | call input("Test\nFoo")<CR>]]) feed([[:echohl Test | call input("Test\nFoo")<CR>]])
screen:expect([[ screen:expect([[
{EOB:~ }| {EOB:~ }|
@@ -106,7 +106,7 @@ describe('input()', function()
{T:3} | {T:3} |
]]) ]])
end) end)
it('works correctly with redraw', function() it('works with redraw', function()
command('echohl Test') command('echohl Test')
meths.set_var('opts', {prompt='Foo>', default='Bar'}) meths.set_var('opts', {prompt='Foo>', default='Bar'})
feed([[:echo inputdialog(opts)<CR>]]) feed([[:echo inputdialog(opts)<CR>]])
@@ -198,7 +198,7 @@ describe('input()', function()
end) end)
end) end)
describe('inputdialog()', function() describe('inputdialog()', function()
it('works correctly with multiline prompts', function() it('works with multiline prompts', function()
feed([[:call inputdialog("Test\nFoo")<CR>]]) feed([[:call inputdialog("Test\nFoo")<CR>]])
screen:expect([[ screen:expect([[
{EOB:~ }| {EOB:~ }|
@@ -208,7 +208,7 @@ describe('inputdialog()', function()
Foo^ | Foo^ |
]]) ]])
end) end)
it('works correctly with multiline prompts and :echohl', function() it('works with multiline prompts and :echohl', function()
feed([[:echohl Test | call inputdialog("Test\nFoo")<CR>]]) feed([[:echohl Test | call inputdialog("Test\nFoo")<CR>]])
screen:expect([[ screen:expect([[
{EOB:~ }| {EOB:~ }|
@@ -273,7 +273,7 @@ describe('inputdialog()', function()
{T:3} | {T:3} |
]]) ]])
end) end)
it('works correctly with redraw', function() it('works with redraw', function()
command('echohl Test') command('echohl Test')
meths.set_var('opts', {prompt='Foo>', default='Bar'}) meths.set_var('opts', {prompt='Foo>', default='Bar'})
feed([[:echo input(opts)<CR>]]) feed([[:echo input(opts)<CR>]])