diff options
author | Gregory Anders <greg@gpanders.com> | 2021-08-17 21:30:58 -0600 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2021-08-18 12:17:12 -0600 |
commit | d8ab8cccd0cf5acdf3e7c3ca229cad4160a6fc2e (patch) | |
tree | 051f9f743f3786de6997f7f1f8e88e1ee6d8bcc5 /test/functional/api/window_spec.lua | |
parent | d417e67e595a9eb19797866e91bb80b4fe299a94 (diff) | |
download | rneovim-d8ab8cccd0cf5acdf3e7c3ca229cad4160a6fc2e.tar.gz rneovim-d8ab8cccd0cf5acdf3e7c3ca229cad4160a6fc2e.tar.bz2 rneovim-d8ab8cccd0cf5acdf3e7c3ca229cad4160a6fc2e.zip |
test: update tests to work with 'hidden'
Diffstat (limited to 'test/functional/api/window_spec.lua')
-rw-r--r-- | test/functional/api/window_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/api/window_spec.lua b/test/functional/api/window_spec.lua index bb72b63b6c..e4aa1dae8e 100644 --- a/test/functional/api/window_spec.lua +++ b/test/functional/api/window_spec.lua @@ -311,7 +311,8 @@ describe('API/win', function() eq({newwin}, meths.list_wins()) end) - it('handles changed buffer', function() + it("handles changed buffer when 'hidden' is unset", function() + command('set nohidden') local oldwin = meths.get_current_win() insert('text') command('new') |