test: simple test to make sure I don't keep debug stuff around

This commit is contained in:
Folke Lemaitre
2024-06-11 07:27:04 +02:00
parent 9b8a393edc
commit 638769d320

6
tests/dd_spec.lua Normal file
View File

@ -0,0 +1,6 @@
describe("Should not have", function()
it("dd()", function()
local out = vim.fn.system([[/bin/grep --line-number -r '\\bdd(' lua]])
assert(vim.v.shell_error == 1, "Should not have dd()\n" .. out)
end)
end)