import TrinoSQL from '../../../../src/parser/trinosql';
import { readSQL } from '../../../helper';
const features = {
analyze: readSQL(__dirname, 'analyze.sql'),
};
describe('TrinoSQL Analyze Statements Syntax Tests', () => {
const parser = new TrinoSQL();
// analyze statements
features.analyze.forEach((sql) => {
it(sql, () => {
expect(parser.validate(sql).length).toBe(0);
});