Skip to content

Commit 87724dd

Browse files
committed
test/setup: sanity-check NVIM_LISTEN_ADDRESS
1 parent 976be1a commit 87724dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def vim():
1818
if child_argv is not None:
1919
editor = pynvim.attach('child', argv=json.loads(child_argv))
2020
else:
21+
assert listen_address is None or listen_address != ''
2122
editor = pynvim.attach('socket', path=listen_address)
2223

2324
return editor

0 commit comments

Comments
 (0)