mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test(api): update tests to new error messages
This commit is contained in:
@@ -1511,7 +1511,7 @@ describe('lua stdlib', function()
|
||||
eq(true, funcs.luaeval "vim.bo[BUF].modifiable")
|
||||
matches("Unknown option 'nosuchopt'$",
|
||||
pcall_err(exec_lua, 'return vim.bo.nosuchopt'))
|
||||
matches("Expected lua string$",
|
||||
matches("Expected Lua string$",
|
||||
pcall_err(exec_lua, 'return vim.bo[0][0].autoread'))
|
||||
matches("Invalid buffer id: %-1$",
|
||||
pcall_err(exec_lua, 'return vim.bo[-1].filetype'))
|
||||
|
||||
Reference in New Issue
Block a user