Skip to content

Commit

Permalink
test: update 'define' option default
Browse files Browse the repository at this point in the history
Nvim upstream changed the default value of 'define':
neovim/neovim@fcfe535
  • Loading branch information
justinmk committed Jul 14, 2023
1 parent 806f4a4 commit 82a2e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_options(vim):
vim.current.buffer.options['define'] = 'test'
assert vim.current.buffer.options['define'] == 'test'
# Doesn't change the global value
assert vim.options['define'] == r'^\s*#\s*define'
assert vim.options['define'] == ''

with pytest.raises(KeyError) as excinfo:
vim.current.buffer.options['doesnotexist']
Expand Down

0 comments on commit 82a2e14

Please sign in to comment.