Implement functional tests

This commit is contained in:
ltrk2 2022-10-14 11:11:08 -07:00
parent 14141c9071
commit 431e1aa3fa
2 changed files with 5 additions and 0 deletions

View File

@ -14,3 +14,5 @@ fooba
foobar
1 1
Zm9v
foo

View File

@ -14,3 +14,6 @@ SELECT base64Decode(val, 'excess argument') FROM (select arrayJoin(['', 'Zg==',
SELECT tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument'); -- { serverError 42 }
SELECT base64Decode('Zm9vYmF=Zm9v'); -- { serverError 117 }
select base64Encode(toFixedString('foo', 3));
select base64Decode(toFixedString('Zm9v', 4));