mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-24 13:31:06 +00:00
test: simple test to make sure I don't keep debug stuff around
This commit is contained in:
parent
9b8a393edc
commit
638769d320
1 changed files with 6 additions and 0 deletions
6
tests/dd_spec.lua
Normal file
6
tests/dd_spec.lua
Normal 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)
|
||||||
Loading…
Add table
Reference in a new issue