From b990a1f286fa6c5add1001e4a31fd8e699b40e99 Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Mon, 15 Jan 2024 19:33:47 +0000 Subject: [PATCH] test: remove test.deprecated --- test/deprecated.lua | 9 --------- test/helpers.lua | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 test/deprecated.lua diff --git a/test/deprecated.lua b/test/deprecated.lua deleted file mode 100644 index e30dfcf3ab..0000000000 --- a/test/deprecated.lua +++ /dev/null @@ -1,9 +0,0 @@ --- Island of Misfit Toys - -local M = {} - -function M.redir_exec() - error('redir_exec is deprecated, use nvim_exec2() or pcall_err()') -end - -return M diff --git a/test/helpers.lua b/test/helpers.lua index 83d7a0ece6..ba13f06cc7 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -952,6 +952,6 @@ function module.mkdir(path) return uv.fs_mkdir(path, 493) end -module = vim.tbl_extend('error', module, Paths, require('test.deprecated')) +module = vim.tbl_extend('error', module, Paths) return module