Skip to content

Commit

Permalink
test: accurate description
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyi committed Oct 16, 2023
1 parent 2f1325d commit 200c75c
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion test/parser/hive/suggestion/tokenSuggestion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import HiveSQL from '../../../../src/parser/hive';

const tokenSql = fs.readFileSync(path.join(__dirname, 'fixtures', 'tokenSuggestion.sql'), 'utf-8');

describe('Hive SQL Syntax Suggestion', () => {
describe('Hive SQL Token Suggestion', () => {
const parser = new HiveSQL();

test('After ALTER', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/suggestion/tokenSuggestion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import SparkSQL from '../../../../src/parser/spark';

const tokenSql = fs.readFileSync(path.join(__dirname, 'fixtures', 'tokenSuggestion.sql'), 'utf-8');

describe('Spark SQL Syntax Suggestion', () => {
describe('Spark SQL Token Suggestion', () => {
const parser = new SparkSQL();

test('After ALTER', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/addStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
add: readSQL(__dirname, 'add.sql'),
};

describe('Spark add Syntax Tests', () => {
describe('Spark Add Syntax Tests', () => {
features.add.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/alert.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const features = {
alertView: readSQL(__dirname, 'alertView.sql'),
};

describe('SparkSQL Insert Syntax Tests', () => {
describe('SparkSQL Alert Syntax Tests', () => {
Object.keys(features).forEach((key) => {
features[key].forEach((sql) => {
it(sql, () => {
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/analyzeTableStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
analyzeTable: readSQL(__dirname, 'analyzeTable.sql'),
};

describe('Spark analyzeTable Syntax Tests', () => {
describe('Spark Analyze Table Syntax Tests', () => {
features.analyzeTable.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/cacheStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
cache: readSQL(__dirname, 'cache.sql'),
};

describe('Spark cache Syntax Tests', () => {
describe('Spark Cache Syntax Tests', () => {
features.cache.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/create.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const features = {
createView: readSQL(__dirname, 'createView.sql'),
};

describe('SparkSQL Insert Syntax Tests', () => {
describe('SparkSQL Create Syntax Tests', () => {
Object.keys(features).forEach((key) => {
features[key].forEach((sql) => {
it(sql, () => {
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/describeStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
describe: readSQL(__dirname, 'describe.sql'),
};

describe('Spark describe Syntax Tests', () => {
describe('Spark Describe Syntax Tests', () => {
features.describe.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/drop.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const features = {
dropView: readSQL(__dirname, 'dropView.sql'),
};

describe('SparkSQL Insert Syntax Tests', () => {
describe('SparkSQL Drop Syntax Tests', () => {
Object.keys(features).forEach((key) => {
features[key].forEach((sql) => {
it(sql, () => {
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/kwMultipleValues.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const features = {
kwMultipleValues: readSQL(__dirname, 'kwMultipleValues.sql'),
};

describe('SparkSQL Insert Syntax Tests', () => {
describe('SparkSQL Keyword Has Multiple Values Syntax Tests', () => {
Object.keys(features).forEach((key) => {
features[key].forEach((sql) => {
it(sql, () => {
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/listStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
list: readSQL(__dirname, 'list.sql'),
};

describe('Spark list Syntax Tests', () => {
describe('Spark List Syntax Tests', () => {
features.list.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/loadStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
loadData: readSQL(__dirname, 'loadData.sql'),
};

describe('SparkSQL Insert Syntax Tests', () => {
describe('SparkSQL Load Syntax Tests', () => {
Object.keys(features).forEach((key) => {
features[key].forEach((sql) => {
it(sql, () => {
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/refreshStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
refresh: readSQL(__dirname, 'refresh.sql'),
};

describe('Spark refresh Syntax Tests', () => {
describe('Spark Refresh Syntax Tests', () => {
features.refresh.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/resetStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
reset: readSQL(__dirname, 'reset.sql'),
};

describe('Spark reset Syntax Tests', () => {
describe('Spark Reset Syntax Tests', () => {
features.reset.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/selectStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const features = {
selectDistributeBy: readSQL(__dirname, 'selectDistributeBy.sql'),
selectClusterBy: readSQL(__dirname, 'selectClusterBy.sql'),
};
describe('Spark select Syntax Tests', () => {
describe('Spark Select Syntax Tests', () => {
features.selectAggregateFn.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/setStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
set: readSQL(__dirname, 'set.sql'),
};

describe('Spark set Syntax Tests', () => {
describe('Spark Set Syntax Tests', () => {
features.set.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/showStatement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
show: readSQL(__dirname, 'show.sql'),
};

describe('Spark show Syntax Tests', () => {
describe('Spark Show Syntax Tests', () => {
features.show.forEach((itemSql) => {
it(itemSql, () => {
expect(parser.validate(itemSql).length).toBe(0);
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/table.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const features = {
truncateTable: readSQL(__dirname, 'truncateTable.sql'),
};

describe('SparkSQL Insert Syntax Tests', () => {
describe('SparkSQL About Table Syntax Tests', () => {
Object.keys(features).forEach((key) => {
features[key].forEach((sql) => {
it(sql, () => {
Expand Down
2 changes: 1 addition & 1 deletion test/parser/spark/syntax/useDatabase.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const features = {
useDatabase: readSQL(__dirname, 'useDatabase.sql'),
};

describe('SparkSQL Insert Syntax Tests', () => {
describe('SparkSQL Use Database Syntax Tests', () => {
Object.keys(features).forEach((key) => {
features[key].forEach((sql) => {
it(sql, () => {
Expand Down

0 comments on commit 200c75c

Please sign in to comment.