MCPcopy Create free account
hub / github.com/github/gh-aw / BenchmarkNormalizeWhitespace_ManyChanges

Function BenchmarkNormalizeWhitespace_ManyChanges

pkg/stringutil/stringutil_test.go:305–310  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

303}
304
305func BenchmarkNormalizeWhitespace_ManyChanges(b *testing.B) {
306 content := "line1 \t \nline2 \t \nline3 \t \n\n\n"
307 for b.Loop() {
308 NormalizeWhitespace(content)
309 }
310}
311
312func TestParseVersionValue(t *testing.T) {
313 tests := []struct {

Callers

nothing calls this directly

Calls 1

NormalizeWhitespaceFunction · 0.85

Tested by

no test coverage detected