Skip to content

Commit 3bdb8da

Browse files
committed
fixed functional ex_cmds tests
1 parent a02dc40 commit 3bdb8da

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/functional/ex_cmds/digraphs_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ local Screen = require('test.functional.ui.screen')
77
describe(':digraphs', function()
88
local screen
99
before_each(function()
10-
clear()
10+
clear{args_rm={'--headless'}}
1111
screen = Screen.new(65, 8)
1212
screen:set_default_attr_ids({
1313
[1] = {bold = true, foreground = Screen.colors.Blue1},

test/functional/ex_cmds/grep_spec.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ local clear, feed_command, feed, ok, eval =
33
helpers.clear, helpers.feed_command, helpers.feed, helpers.ok, helpers.eval
44

55
describe(':grep', function()
6-
before_each(clear)
6+
before_each(function()
7+
clear{args_rm={'--headless'}}
8+
end)
79

810
it('does not hang on large input #2983', function()
911
if eval("executable('grep')") == 0 then

0 commit comments

Comments
 (0)