aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-05-19 18:45:21 +0200
committerGitHub <noreply@github.com>2019-05-19 18:45:21 +0200
commit8e941c59ec239724c00f240deaa5a86ee0e0e1ba (patch)
tree6f1d2093145e4851211822b810c6aba7589fd1fe /test
parent974b43fd7940cd807e5a6b67c77cb2e0462b11a4 (diff)
parentfab81cfb04b345fa7465fa099204d50a496f1819 (diff)
downloadrneovim-8e941c59ec239724c00f240deaa5a86ee0e0e1ba.tar.gz
rneovim-8e941c59ec239724c00f240deaa5a86ee0e0e1ba.tar.bz2
rneovim-8e941c59ec239724c00f240deaa5a86ee0e0e1ba.zip
Merge #9740 from KillTheMule/luadoc
Diffstat (limited to 'test')
-rw-r--r--test/helpers.lua25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index cc5f05bdee..3311f3ef97 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -336,30 +336,6 @@ local function shallowcopy(orig)
return copy
end
-local deepcopy
-
-local function id(v)
- return v
-end
-
-local deepcopy_funcs = {
- table = function(orig)
- local copy = {}
- for k, v in pairs(orig) do
- copy[deepcopy(k)] = deepcopy(v)
- end
- return copy
- end,
- number = id,
- string = id,
- ['nil'] = id,
- boolean = id,
-}
-
-deepcopy = function(orig)
- return deepcopy_funcs[type(orig)](orig)
-end
-
local REMOVE_THIS = {}
local function mergedicts_copy(d1, d2)
@@ -728,7 +704,6 @@ local module = {
check_logs = check_logs,
concat_tables = concat_tables,
dedent = dedent,
- deepcopy = deepcopy,
dictdiff = dictdiff,
eq = eq,
expect_err = expect_err,