import HiveSQL from '../../../../src/parser/hive'; import { readSQL } from '../../../helper'; const parser = new HiveSQL(); const features = { indexes: readSQL(__dirname, 'alterIndex.sql'), }; describe('Hive Alter Syntax Tests', () => { describe('ALTER INDEX', () => { features.indexes.forEach((index) => { it(index, () => { expect(parser.validate(index).length).toBe(0); }); }); }); });