From b2ea1bd4568c0d1d9b700709ae5d7227de92f78a Mon Sep 17 00:00:00 2001 From: Pablu Date: Wed, 29 Jul 2026 08:38:45 +0200 Subject: remove herdr overflow --- .../tests/test_plugin.lua | 60 ---------------------- 1 file changed, 60 deletions(-) delete mode 100644 dot_config/herdr/plugins/github/herdr-splits-d880c4924f2b/tests/test_plugin.lua (limited to 'dot_config/herdr/plugins/github/herdr-splits-d880c4924f2b/tests/test_plugin.lua') diff --git a/dot_config/herdr/plugins/github/herdr-splits-d880c4924f2b/tests/test_plugin.lua b/dot_config/herdr/plugins/github/herdr-splits-d880c4924f2b/tests/test_plugin.lua deleted file mode 100644 index 0afc929..0000000 --- a/dot_config/herdr/plugins/github/herdr-splits-d880c4924f2b/tests/test_plugin.lua +++ /dev/null @@ -1,60 +0,0 @@ -local T -local expect = MiniTest.expect -local child = MiniTest.new_child_neovim() - -local source = debug.getinfo(1, 'S').source -local root = vim.fn.fnamemodify(source:sub(2), ':p:h:h') - -T = MiniTest.new_set({ - hooks = { - pre_case = function() - child.restart({ '--noplugin', '-u', 'NONE', '-i', 'NONE' }) - child.cmd('set runtimepath^=' .. vim.fn.fnameescape(root)) - end, - post_case = function() - child.stop() - end, - }, -}) - -T['public module loads its expected API'] = function() - local result = child.lua_func(function() - local plugin = require('herdr-splits') - local names = { - 'setup', - 'sync_herdr', - 'resize_left', - 'resize_down', - 'resize_up', - 'resize_right', - 'move_cursor_left', - 'move_cursor_down', - 'move_cursor_up', - 'move_cursor_right', - 'add_ignored_filetype', - 'add_ignored_buftype', - } - local types = {} - for _, name in ipairs(names) do - types[name] = type(plugin[name]) - end - return types - end) - - expect.equality(result, { - setup = 'function', - sync_herdr = 'function', - resize_left = 'function', - resize_down = 'function', - resize_up = 'function', - resize_right = 'function', - move_cursor_left = 'function', - move_cursor_down = 'function', - move_cursor_up = 'function', - move_cursor_right = 'function', - add_ignored_filetype = 'function', - add_ignored_buftype = 'function', - }) -end - -return T -- cgit 1.3.1