Files
eleith 360002021f
ci/woodpecker/pr/ci Pipeline was successful
Cover the behavior that had no specs
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.
2026-09-22 08:55:08 -07:00

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)