From da2581533fa7a8196710c6046a03f57d476fd090 Mon Sep 17 00:00:00 2001 From: Erindcl Date: Tue, 5 Jan 2021 11:49:40 +0800 Subject: [PATCH] fix: delete mock data --- test/parser/flinksql/syntax.test.ts | 47 ----------------------------- 1 file changed, 47 deletions(-) diff --git a/test/parser/flinksql/syntax.test.ts b/test/parser/flinksql/syntax.test.ts index 06e0289..4a6fa25 100644 --- a/test/parser/flinksql/syntax.test.ts +++ b/test/parser/flinksql/syntax.test.ts @@ -1,5 +1,4 @@ import SQLParser from '../../../src/parser/flinksql'; -import sqlMockData from '../../mock/flinkSql'; describe('FlinkSQL Syntax Tests', () => { const parser = new SQLParser(); @@ -172,50 +171,4 @@ describe('FlinkSQL Syntax Tests', () => { const result = parser.validate(sql); expect(result.length).toBe(0); }); - - test('Test complex sql Statement one', () => { - const sql = sqlMockData.sqlStrOne; - const result = parser.validate(sql); - expect(result.length).toBe(0); - }); - test('Test complex sql Statement two', () => { - const sql = sqlMockData.sqlStrTwo; - const result = parser.validate(sql); - expect(result.length).toBe(0); - }); - test('Test complex sql Statement three', () => { - const sql = sqlMockData.sqlStrThree; - const result = parser.validate(sql); - expect(result.length).toBe(0); - }); - test('Test complex sql Statement four', () => { - const sql = sqlMockData.sqlStrFour; - const result = parser.validate(sql); - expect(result.length).toBe(0); - }); - test('Test complex sql Statement five', () => { - const sql = sqlMockData.sqlStrFive; - const result = parser.validate(sql); - expect(result.length).toBe(0); - }); - test('Test complex sql Statement six', () => { - const sql = sqlMockData.sqlStrSix; - const result = parser.validate(sql); - expect(result.length).toBe(0); - }); - test('Test complex sql Statement seven', () => { - const sql = sqlMockData.sqlStrSeven; - const result = parser.validate(sql); - expect(result.length).toBe(0); - }); - test('Test complex sql Statement eight', () => { - const sql = sqlMockData.sqlStrEight; - const result = parser.validate(sql); - expect(result.length).toBe(0); - }); - test('Test complex sql Statement nine', () => { - const sql = sqlMockData.allSqlStr; - const result = parser.validate(sql); - expect(result.length).toBe(0); - }); });