aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/man_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-15 22:02:20 +0800
committerGitHub <noreply@github.com>2024-08-15 22:02:20 +0800
commitee5aaba21560c3836f46d347c216832864f85668 (patch)
tree70aedaed9770fcba721933ced1f77ed1a3d91d2a /test/functional/plugin/man_spec.lua
parent4199671047b0cb62781995a8f6a4b66fb6e8b6fd (diff)
downloadrneovim-ee5aaba21560c3836f46d347c216832864f85668.tar.gz
rneovim-ee5aaba21560c3836f46d347c216832864f85668.tar.bz2
rneovim-ee5aaba21560c3836f46d347c216832864f85668.zip
fix(man): avoid setting v:errmsg (#30052)
Diffstat (limited to 'test/functional/plugin/man_spec.lua')
-rw-r--r--test/functional/plugin/man_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/plugin/man_spec.lua b/test/functional/plugin/man_spec.lua
index 5e4ec53f8d..c0256d1c63 100644
--- a/test/functional/plugin/man_spec.lua
+++ b/test/functional/plugin/man_spec.lua
@@ -20,7 +20,7 @@ local function get_search_history(name)
local args = vim.split(name, ' ')
local code = [[
local args = ...
- local man = require('runtime.lua.man')
+ local man = require('man')
local res = {}
man.find_path = function(sect, name)
table.insert(res, {sect, name})