From c37b34ce00db62e6751d4b014787b2b9f40fd7f8 Mon Sep 17 00:00:00 2001 From: xiaoshihou Date: Tue, 19 Sep 2023 18:19:56 +0800 Subject: [PATCH] fix: test --- test/linter/clang-tidy_spec.lua | 1 - test/linter/helper.lua | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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)