diff --git a/test/linter/clang-tidy_spec.lua b/test/linter/clang-tidy_spec.lua index 6e49502..4eb7c7e 100644 --- a/test/linter/clang-tidy_spec.lua +++ b/test/linter/clang-tidy_spec.lua @@ -15,7 +15,6 @@ describe('clang-tidy', function() [[ return 0;]], [[}]], }) - vim.print(diagnostics) assert.are.same({ { bufnr = 3, diff --git a/test/linter/helper.lua b/test/linter/helper.lua index d3c1570..aa8a7f8 100644 --- a/test/linter/helper.lua +++ b/test/linter/helper.lua @@ -1,5 +1,6 @@ local M = {} local api = vim.api +require('guard.lint') M.namespace = api.nvim_get_namespaces().Guard function M.test_with(ft, input)