Skip to content

Commit 70dfc84

Browse files
blueyedjustinmk
authored andcommitted
test: fix test_command_output (neovim#290)
1. The `with_setup` decorator does not appear to be designed to be used without parenthesis. Remove it, since it is not needed/used anyway. 2. Fix the actual test.
1 parent 6a195f4 commit 70dfc84

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/test_vim.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ def test_command():
2626
os.unlink(fname)
2727

2828

29-
@with_setup
3029
def test_command_output():
31-
eq(vim.command_output('echo test'), 'test')
32-
30+
eq(vim.command_output('echon "test"'), 'test')
3331

3432
@with_setup(setup=cleanup)
3533
def test_eval():

0 commit comments

Comments
 (0)