diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-02-18 23:38:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 23:38:52 -0800 |
commit | e8f160c82f8d4809320699630e07a7e5f4537e77 (patch) | |
tree | d4b6c45adac6dc5cffe3623c298da7fdd673fc08 /test/helpers.lua | |
parent | 521b79c0f85625f99ff626935484a1225360f820 (diff) | |
parent | f3d4ddd0f8b654d58fb4653d88ac7f652e3ad364 (diff) | |
download | rneovim-e8f160c82f8d4809320699630e07a7e5f4537e77.tar.gz rneovim-e8f160c82f8d4809320699630e07a7e5f4537e77.tar.bz2 rneovim-e8f160c82f8d4809320699630e07a7e5f4537e77.zip |
Merge #11895 'lsp: fix textDocument/completion handling'
Diffstat (limited to 'test/helpers.lua')
-rw-r--r-- | test/helpers.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/helpers.lua b/test/helpers.lua index 72b1bdcadd..40b93d9935 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -290,24 +290,6 @@ module.tmpname = (function() end) end)() -function module.map(func, tab) - local rettab = {} - for k, v in pairs(tab) do - rettab[k] = func(v) - end - return rettab -end - -function module.filter(filter_func, tab) - local rettab = {} - for _, entry in pairs(tab) do - if filter_func(entry) then - table.insert(rettab, entry) - end - end - return rettab -end - function module.hasenv(name) local env = os.getenv(name) if env and env ~= '' then |