mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
Add a test
This commit is contained in:
parent
ac408d0b63
commit
ace98464ae
@ -0,0 +1,2 @@
|
|||||||
|
0
|
||||||
|
0
|
7
tests/queries/0_stateless/02816_has_token_empty.sql
Normal file
7
tests/queries/0_stateless/02816_has_token_empty.sql
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
SELECT hasTokenCaseInsensitive('K(G', ''); -- { serverError BAD_ARGUMENTS }
|
||||||
|
SELECT hasTokenCaseInsensitive('Hello', ''); -- { serverError BAD_ARGUMENTS }
|
||||||
|
SELECT hasTokenCaseInsensitive('', ''); -- { serverError BAD_ARGUMENTS }
|
||||||
|
SELECT hasTokenCaseInsensitive('', 'Hello');
|
||||||
|
SELECT hasToken('Hello', ''); -- { serverError BAD_ARGUMENTS }
|
||||||
|
SELECT hasToken('', 'Hello');
|
||||||
|
SELECT hasToken('', ''); -- { serverError BAD_ARGUMENTS }
|
Loading…
Reference in New Issue
Block a user