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

Function BenchmarkAnalyzeTokenError

pkg/errors/suggestions_test.go:467–472  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

465}
466
467func BenchmarkAnalyzeTokenError(b *testing.B) {
468 b.ResetTimer()
469 for i := 0; i < b.N; i++ {
470 _ = AnalyzeTokenError("STRING", "18", "NUMBER")
471 }
472}
473
474func BenchmarkSuggestForIncompleteStatement(b *testing.B) {
475 keywords := []string{"SELECT", "FROM", "WHERE", "JOIN", "ORDER"}

Callers

nothing calls this directly

Calls 1

AnalyzeTokenErrorFunction · 0.85

Tested by

no test coverage detected