diff options
author | Joakim Koljonen <koljonen@Joakims-MacBook-Pro-2.local> | 2016-07-08 16:51:55 +0200 |
---|---|---|
committer | Joakim Koljonen <koljonen@Joakims-MacBook-Pro-2.local> | 2016-07-08 16:51:55 +0200 |
commit | f94bd6882d4e8eff4c53039b8612b557b80b2094 (patch) | |
tree | 98c74ca449f7166fea0c6b03aea80552be522427 /tests/test_smart_completion_public_schema_only.py | |
parent | 6894c8ecaac64f4b5baaa383ea689e658782d05e (diff) |
Some changes to sorting of suggestions
Diffstat (limited to 'tests/test_smart_completion_public_schema_only.py')
-rw-r--r-- | tests/test_smart_completion_public_schema_only.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_smart_completion_public_schema_only.py b/tests/test_smart_completion_public_schema_only.py index df73d51b..4802db45 100644 --- a/tests/test_smart_completion_public_schema_only.py +++ b/tests/test_smart_completion_public_schema_only.py @@ -561,17 +561,17 @@ def test_table_names_after_from(completer, complete_event, text): assert set(result) == set(testdata.schemas() + testdata.tables() + testdata.views() + testdata.functions()) assert [c.text for c in result] == [ + 'public', + 'orders', + '"select"', + 'users', + '"Users"', + 'user_emails', '_custom_fun()', 'custom_fun()', 'custom_func1()', 'custom_func2()', - 'orders', - 'public', - '"select"', 'set_returning_func()', - 'user_emails', - 'users', - '"Users"', ] def test_auto_escaped_col_names(completer, complete_event): |