diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-05-22 10:19:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 10:19:47 +0200 |
commit | 62a80c36c158ecf4ffc8c93d8891aeb2f0d2f287 (patch) | |
tree | 49c5503fd1bd2a110bc19a96c156e7c31dafbaeb /test/functional/api/extmark_spec.lua | |
parent | 8b8e60728486e1fbb308bee2961175be355e550a (diff) | |
parent | 576dddb46168e81aa0f78c28816082c662dedea1 (diff) | |
download | rneovim-62a80c36c158ecf4ffc8c93d8891aeb2f0d2f287.tar.gz rneovim-62a80c36c158ecf4ffc8c93d8891aeb2f0d2f287.tar.bz2 rneovim-62a80c36c158ecf4ffc8c93d8891aeb2f0d2f287.zip |
Merge pull request #23712 from famiu/refactor/test/buf0
test: don't unnecessarily specify win/buf for nvim_(get|set)_option_value
Diffstat (limited to 'test/functional/api/extmark_spec.lua')
-rw-r--r-- | test/functional/api/extmark_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/api/extmark_spec.lua b/test/functional/api/extmark_spec.lua index 0960e910f1..675c8332de 100644 --- a/test/functional/api/extmark_spec.lua +++ b/test/functional/api/extmark_spec.lua @@ -1401,7 +1401,7 @@ describe('API/extmarks', function() it('in read-only buffer', function() command("view! runtime/doc/help.txt") - eq(true, meths.get_option_value('ro', {buf=0})) + eq(true, meths.get_option_value('ro', {})) local id = set_extmark(ns, 0, 0, 2) eq({{id, 0, 2}}, get_extmarks(ns,0, -1)) end) @@ -1474,7 +1474,7 @@ describe('API/extmarks', function() it('in prompt buffer', function() feed('dd') local id = set_extmark(ns, marks[1], 0, 0, {}) - meths.set_option_value('buftype', 'prompt', {buf = 0}) + meths.set_option_value('buftype', 'prompt', {}) feed('i<esc>') eq({{id, 0, 2}}, get_extmarks(ns, 0, -1)) end) |