import { TrinoSQL } from '../../../filters';
import { readSQL } from '../../../helper';

const features = {
    comment: readSQL(__dirname, 'comment.sql'),
};

describe('TrinoSQL Comment Statements Syntax Tests', () => {
    const parser = new TrinoSQL();
    // Comment statements
    features.comment.forEach((sql) => {
        it(sql, () => {
            expect(parser.validate(sql).length).toBe(0);
        });
    });
});
