Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_buffer: don't depend on version-dependent default values of 'def…
…ine' `test_options` has an assertion that tests whether setting a local value modifies the global value, but tests it against a hardcoded constant. This constant changed in neovim/neovim@fcfe535 and 82a2e14 fixes it by using the new constant instead, but this causes tests to fail against even the latest released version of neovim. To make this version-agnostic, save the old global value, and assert that the new value is equal after setting the local value. Signed-off-by: Michel Alexandre Salim <[email protected]>
- Loading branch information