Add tests

This commit is contained in:
ANDREI STAROVEROV 2021-05-09 12:48:23 +03:00
parent 13a7169669
commit ca5ce92688
6 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1 @@
24

View File

@ -0,0 +1,2 @@
create function MyFunc as (a, b, c) -> a * b * c;
select MyFunc(2, 3, 4);

View File

@ -0,0 +1,2 @@
create function MyFunc2 as (a, b) -> a || b || c;
select MyFunc2('1', '2'); -- { serverError 47 }

View File

@ -0,0 +1,2 @@
create function MyFunc3 as (a, b) -> a + b;
create function MyFunc3 as (a) -> a || '!!!'; -- { serverError 49 }