diff options
author | koljonen <koljonen@outlook.com> | 2016-05-20 12:06:09 +0200 |
---|---|---|
committer | koljonen <koljonen@outlook.com> | 2016-06-04 23:05:32 +0200 |
commit | 7e45e893cab34bb90130265a274117218eb12ddd (patch) | |
tree | ae757ff96a9cf8ecc164a781a7ae9994ad36efe2 /tests | |
parent | 52bac9af854f3e0222ee0569b4206acd3bdaa804 (diff) |
Custom casing of table/column/function/view names
This adds support for defining the casing to be used in completions (for unquoted names). The casing is determined by the casing file, which consists of a \n-separated list of names using the preferred casing. This file can either be populated manually or created automatically (based on usage in SQL/PLPGSQL functions), with a config setting.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_completion_refresher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_completion_refresher.py b/tests/test_completion_refresher.py index 6eb057aa..f47a9745 100644 --- a/tests/test_completion_refresher.py +++ b/tests/test_completion_refresher.py @@ -18,7 +18,7 @@ def test_ctor(refresher): assert len(refresher.refreshers) > 0 actual_handlers = list(refresher.refreshers.keys()) expected_handlers = ['schemata', 'tables', 'views', 'functions', - 'types', 'databases'] + 'types', 'databases', 'casing'] assert expected_handlers == actual_handlers |