diff options
author | Sky.G.Uieen <guieenoutis@gmail.com> | 2020-08-01 02:21:58 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 10:21:58 -0700 |
commit | df1b40ca2220b0211e8a86805788c70f674a1f1f (patch) | |
tree | d4c56eac11c14a8958194c9f62f9587af0106361 /tests/test_smart_completion_public_schema_only.py | |
parent | 8f7e31450835bca5d9a8bb4de252efba6f4b7b10 (diff) |
Update suggestion literals (#1195)
* Updated all data types literals
* Updated sql functions literals
* Updated changelog and auther
* Updated test code
* Added datatype test case
Diffstat (limited to 'tests/test_smart_completion_public_schema_only.py')
-rw-r--r-- | tests/test_smart_completion_public_schema_only.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_smart_completion_public_schema_only.py b/tests/test_smart_completion_public_schema_only.py index e046978b..b9357092 100644 --- a/tests/test_smart_completion_public_schema_only.py +++ b/tests/test_smart_completion_public_schema_only.py @@ -164,6 +164,12 @@ def test_builtin_function_name_completion(completer): result = get_result(completer, "SELECT MA") assert completions_to_set(result) == completions_to_set( [ + function("MAKE_DATE", -2), + function("MAKE_INTERVAL", -2), + function("MAKE_TIME", -2), + function("MAKE_TIMESTAMP", -2), + function("MAKE_TIMESTAMPTZ", -2), + function("MASKLEN", -2), function("MAX", -2), keyword("MAXEXTENTS", -2), keyword("MATERIALIZED VIEW", -2), @@ -189,6 +195,10 @@ def test_user_function_name_completion(completer): function("_custom_fun()", -2), function("custom_func1()", -2), function("custom_func2()", -2), + function("CURRENT_DATE", -2), + function("CURRENT_TIMESTAMP", -2), + function("CUME_DIST", -2), + function("CURRENT_TIME", -2), keyword("CURRENT", -2), ] ) |