LazyVim/tests/dd_spec.lua

7 lines
218 B
Lua

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)