Skip to content

Commit

Permalink
chore: always red
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh committed Dec 6, 2023
1 parent edb0bad commit d944ac1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tests/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ vim.print({
is_github_action = is_github_action,
})

--- @return any # given arguments.
M.debug = function(...)
if debug_enabled then
vim.print(...)
return vim.print(...)
end
return {}
end

M.setup_backport = function()
Expand Down
6 changes: 4 additions & 2 deletions tests/kitty-scrollback/kitty_scrollback_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ local ksb_dir = vim.fn.fnamemodify(
vim.fn.fnamemodify(vim.api.nvim_get_runtime_file('lua/kitty-scrollback', false)[1], ':h:h'),
':p'
)
h.debug('ksb_dir: ' .. ksb_dir)
h.debug(ksb_dir .. 'tests/minimal_kitty.conf')
h.debug({
ksb_dir = ksb_dir,
minimal_kitty_conf = ksb_dir .. 'tests/minimal_kitty.conf',
})

local tmpsock = h.tempsocket(ksb_dir .. 'tmp/')
local kitty_instance
Expand Down

0 comments on commit d944ac1

Please sign in to comment.