We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59112c6 commit 6614b9cCopy full SHA for 6614b9c
test/conftest.py
@@ -10,7 +10,7 @@
10
11
@pytest.fixture(autouse=True)
12
def cleanup_func(vim):
13
- fun = textwrap.dedent(''':function BeforeEachTest()
+ fun = textwrap.dedent('''function! BeforeEachTest()
14
set all&
15
redir => groups
16
silent augroup
@@ -47,7 +47,7 @@ def cleanup_func(vim):
47
comclear
48
endfunction
49
''')
50
- vim.input(fun)
+ vim.command(fun)
51
vim.command('call BeforeEachTest()')
52
assert len(vim.tabpages) == len(vim.windows) == len(vim.buffers) == 1
53
0 commit comments