MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / BenchmarkTokenizerError_Error

Function BenchmarkTokenizerError_Error

pkg/models/tokenizer_error_test.go:215–225  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

213}
214
215func BenchmarkTokenizerError_Error(b *testing.B) {
216 err := TokenizerError{
217 Message: "test error",
218 Location: Location{Line: 1, Column: 10},
219 }
220
221 b.ResetTimer()
222 for i := 0; i < b.N; i++ {
223 _ = err.Error()
224 }
225}

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.95

Tested by

no test coverage detected