Skip to content

Commit 146f2e3

Browse files
author
Andrew Ferrier
committed
style: Format
1 parent 48d5f39 commit 146f2e3

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

lua/debugprint/init.lua

+1-4
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,7 @@ M.debugprint_cache = function(opts)
140140
opts.variable_name = vim.fn.input("Variable name: ")
141141

142142
if opts.variable_name == nil or opts.variable_name == "" then
143-
vim.notify(
144-
"No variable name entered.",
145-
vim.log.levels.WARN
146-
)
143+
vim.notify("No variable name entered.", vim.log.levels.WARN)
147144
return
148145
end
149146
end

tests/debugprint.lua

+1-4
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,7 @@ describe("can do variable debug statement insertion", function()
152152
}, "lua", 1, 0)
153153

154154
feedkeys("g?v<CR>")
155-
assert.are.same(
156-
"No variable name entered.",
157-
notify_message
158-
)
155+
assert.are.same("No variable name entered.", notify_message)
159156

160157
check_lines({
161158
"foo",

0 commit comments

Comments
 (0)