Benchmark tests
(b *testing.B)
| 302 | |
| 303 | // Benchmark tests |
| 304 | func BenchmarkValidateStdinInput(b *testing.B) { |
| 305 | content := []byte("SELECT * FROM users WHERE id = 1") |
| 306 | b.ResetTimer() |
| 307 | for i := 0; i < b.N; i++ { |
| 308 | _ = ValidateStdinInput(content) |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | func BenchmarkWriteOutput(b *testing.B) { |
| 313 | content := []byte("SELECT * FROM users WHERE id = 1") |
nothing calls this directly
no test coverage detected