chore: fix formatting
This commit is contained in:
parent
7a18d9f7bd
commit
03de1f5ffc
1 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ iferr["should add if err with custom message"] = function()
|
|||
child.lua [[
|
||||
require("gopher").setup {
|
||||
iferr = { message = 'fmt.Errorf("failed to %w", err)' }
|
||||
} ]]
|
||||
}
|
||||
]]
|
||||
|
||||
local rs = t.setup_test("iferr/message", child, { 6, 2 })
|
||||
child.cmd "GoIfErr"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue