aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/api/vim_spec.lua')
-rw-r--r--test/functional/api/vim_spec.lua4
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)