test: unit test for the custom variables
This commit is contained in:
parent
df18e6cb21
commit
5404cdd4d0
@ -312,4 +312,13 @@ SELECT * FROM t2;`,
|
||||
];
|
||||
validateTest(sqls);
|
||||
});
|
||||
|
||||
test('Customizing variables with the ${} symbol', () => {
|
||||
const sqls = [
|
||||
`select * from \${tb};`,
|
||||
`select a as \${b_} from tb_test;`,
|
||||
'select a as ${bb} from ${tt}',
|
||||
];
|
||||
validateTest(sqls);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user