ci/woodpecker/pr/ci Pipeline was successful
Specs for the unnamed-buffer warning, the window border, cancelled pickers, deleting with nothing to delete, :CommentToggle usage, navigation with other files or a changed comment, clipboard failure, sorting across files, nested code fences and :checkhealth. helpers.notified() runs scheduled notifications before reading them, and reset flushes them so none reach the next spec.
16 lines
471 B
Lua
16 lines
471 B
Lua
local helpers = require("helpers")
|
|
local expect = MiniTest.expect
|
|
|
|
before_each(function()
|
|
helpers.reset()
|
|
end)
|
|
|
|
describe(":checkhealth scratch_comments", function()
|
|
it("reports the Neovim version and the clipboard", function()
|
|
vim.cmd("silent checkhealth scratch_comments")
|
|
local report = helpers.text()
|
|
expect.no_equality(report:find("Neovim version is supported", 1, true), nil)
|
|
expect.no_equality(report:find("lipboard", 1, true), nil)
|
|
end)
|
|
end)
|