(t *testing.T)
| 3458 | } |
| 3459 | |
| 3460 | func TestParseOne(t *testing.T) { |
| 3461 | _, err := parser.ParseOne("SELECT 1; SELECT 2") |
| 3462 | if !testutils.IsError(err, "expected 1 statement") { |
| 3463 | t.Errorf("unexpected error %s", err) |
| 3464 | } |
| 3465 | } |
| 3466 | |
| 3467 | func BenchmarkParse(b *testing.B) { |
| 3468 | testCases := []struct { |