mirror of
https://github.com/neovim/neovim.git
synced 2025-11-26 12:10:40 +00:00
feat(api): nvim_exec2(), deprecate nvim_exec() #19032
Problem: The signature of nvim_exec() is not extensible per ":help api-contract". Solution: Introduce nvim_exec2() and deprecate nvim_exec().
This commit is contained in:
committed by
GitHub
parent
257d894d75
commit
fe9cbcb3a5
@@ -145,10 +145,10 @@ describe('assert function:', function()
|
||||
call assert_true('', 'file two')
|
||||
]])
|
||||
expected_errors({
|
||||
"nvim_exec(): equal assertion failed: Expected 1 but got 100",
|
||||
"nvim_exec(): true assertion failed: Expected False but got 'true'",
|
||||
"nvim_exec(): false assertion failed: Expected True but got 'false'",
|
||||
"nvim_exec(): file two: Expected True but got ''",
|
||||
"nvim_exec2(): equal assertion failed: Expected 1 but got 100",
|
||||
"nvim_exec2(): true assertion failed: Expected False but got 'true'",
|
||||
"nvim_exec2(): false assertion failed: Expected True but got 'false'",
|
||||
"nvim_exec2(): file two: Expected True but got ''",
|
||||
})
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user