diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-12-16 11:39:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-16 11:39:30 +0100 |
commit | 7e7da962de404e3a0952bcc0adc6fbe53eda3cfb (patch) | |
tree | 53bb22a303e70b589e6495b42ebae90c128ffe56 /test/functional/api/vim_spec.lua | |
parent | 7cae94e91e495c6ffbd32c8e9ba7d3c572610409 (diff) | |
parent | 3c2c022e5e299ecac4663c3813e2db5e2b099ffa (diff) | |
download | rneovim-7e7da962de404e3a0952bcc0adc6fbe53eda3cfb.tar.gz rneovim-7e7da962de404e3a0952bcc0adc6fbe53eda3cfb.tar.bz2 rneovim-7e7da962de404e3a0952bcc0adc6fbe53eda3cfb.zip |
Merge pull request #26512 from famiu/refactor/options/type_flags
refactor(options): remove option type macros
Diffstat (limited to 'test/functional/api/vim_spec.lua')
-rw-r--r-- | test/functional/api/vim_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua index 3d3b478d66..104ffd7d6c 100644 --- a/test/functional/api/vim_spec.lua +++ b/test/functional/api/vim_spec.lua @@ -1478,9 +1478,9 @@ describe('API', function() pcall_err(nvim, 'get_option_value', 'scrolloff', {scope = 42})) eq("Invalid 'value': expected valid option type, got Array", pcall_err(nvim, 'set_option_value', 'scrolloff', {}, {})) - eq("Invalid value for option 'scrolloff': expected Number, got Boolean true", + eq("Invalid value for option 'scrolloff': expected number, got boolean true", pcall_err(nvim, 'set_option_value', 'scrolloff', true, {})) - eq("Invalid value for option 'scrolloff': expected Number, got String \"wrong\"", + eq("Invalid value for option 'scrolloff': expected number, got string \"wrong\"", pcall_err(nvim, 'set_option_value', 'scrolloff', 'wrong', {})) end) |