@@ -6,7 +6,7 @@ describe("Example Sql Parsing", () => {
66 it ( "Run Parser Sqlite Ex" , async ( ) => {
77 const filePath = "examples/chinook-database-2.0.1_sqlite.sql" ;
88 // load sql
9- var sql = await fs . readFileSync ( filePath , "utf8" ) ;
9+ const sql = await fs . readFileSync ( filePath , "utf8" ) ;
1010 // console.log(sql);
1111
1212 // run parser
@@ -36,7 +36,7 @@ describe("Example Sql Parsing", () => {
3636 it ( "Run Parser mysql Ex" , async ( ) => {
3737 const filePath = "examples/adventureworks_mysql.sql" ;
3838 // load sql
39- var sql = await fs . readFileSync ( filePath , "utf8" ) ;
39+ const sql = await fs . readFileSync ( filePath , "utf8" ) ;
4040 // console.log(sql);
4141
4242 // run parser
@@ -67,7 +67,7 @@ describe("Example Sql Parsing", () => {
6767 it ( "Run Parser postgres Ex" , async ( ) => {
6868 const filePath = "examples/adventureworks_pg.sql" ;
6969 // load sql
70- var sql = await fs . readFileSync ( filePath , "utf8" ) ;
70+ const sql = await fs . readFileSync ( filePath , "utf8" ) ;
7171 // console.log(sql);
7272
7373 // run parser
@@ -98,7 +98,7 @@ describe("Example Sql Parsing", () => {
9898 it ( "Run Parser sqlserver Ex" , async ( ) => {
9999 const filePath = "examples/adventureworks_mssql.sql" ;
100100 // load sql
101- var sql = await fs . readFileSync ( filePath , "utf8" ) ;
101+ const sql = await fs . readFileSync ( filePath , "utf8" ) ;
102102 // console.log(sql);
103103
104104 // run parser
@@ -129,7 +129,7 @@ describe("Example Sql Parsing", () => {
129129
130130 it ( "Run Parser mssql simple" , async ( ) => {
131131 // load sql
132- var sql = `CREATE TABLE Persons
132+ const sql = `CREATE TABLE Persons
133133 (
134134 PersonID int NOT NULL,
135135 LastName varchar(255),
@@ -175,7 +175,7 @@ describe("Example Sql Parsing", () => {
175175
176176 it ( "Run Parser postgres simple" , async ( ) => {
177177 // load sql
178- var sql = `CREATE TABLE "humanresources_department" (
178+ const sql = `CREATE TABLE "humanresources_department" (
179179 "departmentid" serial NOT NULL,
180180 "name" Name NOT NULL,
181181 "groupname" Name NOT NULL,
0 commit comments