minor trim test improvements

This commit is contained in:
Ivan Blinkov 2018-12-17 23:20:25 +03:00
parent b7566a8d4d
commit 93d4303922
3 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@
<substitution>
<name>func</name>
<values>
<value>value</value>
<value>trimLeft(value)</value>
<value>trimRight(value)</value>
<value>trimBoth(value)</value>

View File

@ -14,6 +14,7 @@ fo
foo
r
bar
foo
foo
xxfoo

View File

@ -16,6 +16,7 @@ select left('foo', 2);
select LEFT('foo', 123);
select RIGHT('bar', 1);
select right('bar', 123);
select ltrim('') || rtrim('') || trim('');
select ltrim(' foo');
select RTRIM(' foo ');
select trim(TRAILING 'x' FROM 'xxfooxx');