(b *testing.B)
| 296 | } |
| 297 | |
| 298 | func BenchmarkNormalizeWhitespace_NoChange(b *testing.B) { |
| 299 | content := "line1\nline2\nline3\n" |
| 300 | for b.Loop() { |
| 301 | NormalizeWhitespace(content) |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | func BenchmarkNormalizeWhitespace_ManyChanges(b *testing.B) { |
| 306 | content := "line1 \t \nline2 \t \nline3 \t \n\n\n" |
nothing calls this directly
no test coverage detected