Skip to content

Commit 1e61e54

Browse files
committed
fix(require): remove trailing space in template function
Removed unnecessary trailing space after "require." in the require.go.tmpl template. This ensures consistent formatting and prevents potential issues with code generation or string matching. Signed-off-by: a2not <31874975+a2not@users.noreply.github.com>
1 parent 5053534 commit 1e61e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

require/require.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ .Replace .Comment "assert." "require." }}
1+
{{ .Replace .Comment "assert." "require."}}
22
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
33
if h, ok := t.(tHelper); ok { h.Helper() }
44
if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }

0 commit comments

Comments
 (0)