all: Run gofumpt -l -w .

This commit is contained in:
Bjørn Erik Pedersen
2024-01-28 22:34:10 +01:00
parent 982d9513e7
commit a795acbcd8
77 changed files with 102 additions and 203 deletions

View File

@@ -70,7 +70,6 @@ func (ns *Namespace) FindRESubmatch(expr string, content any, limit ...any) ([][
}
return re.FindAllStringSubmatch(conv, n), nil
}
// ReplaceRE returns a copy of s, replacing all matches of the regular

View File

@@ -83,6 +83,7 @@ func TestFindRESubmatch(t *testing.T) {
c.Check(result, qt.DeepEquals, test.expect)
}
}
func TestReplaceRE(t *testing.T) {
t.Parallel()
c := qt.New(t)

View File

@@ -111,5 +111,4 @@ func BenchmarkTruncate(b *testing.B) {
ns.Truncate(10, "I have a <a href='/markdown'>Markdown link</a> inside")
}
})
}