Skip to content

Commit 3bc0687

Browse files
committed
chore: use notify instead of vim.notify
1 parent 5a45ffb commit 3bc0687

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/java-core/api/test.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
local log = require('java-core.utils.log')
22
local data_adapters = require('java-core.adapters')
3+
local notify = require('java-core.utils.notify')
34

45
local DebugClient = require('java-core.ls.clients.java-debug-client')
56
local TestClient = require('java-core.ls.clients.java-test-client')
@@ -55,7 +56,7 @@ function M:run_class_by_buffer(buffer, report, config)
5556
local tests = self:get_test_class_by_buffer(buffer)
5657

5758
if #tests < 1 then
58-
vim.notify('No tests found in the current buffer')
59+
notify.warn('No tests found in the current buffer')
5960
return
6061
end
6162

0 commit comments

Comments
 (0)