(t *testing.T)
| 70 | } |
| 71 | |
| 72 | func TestParseBytesInvalid(t *testing.T) { |
| 73 | _, err := parser.ParseBytes([]byte("SELECT FROM WHERE")) |
| 74 | if err == nil { |
| 75 | t.Fatal("ParseBytes should fail for invalid SQL") |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | func TestParseBytesWithTokens(t *testing.T) { |
| 80 | result, tokens, err := parser.ParseBytesWithTokens([]byte("SELECT 1")) |
nothing calls this directly
no test coverage detected