Adding upstream version 1.26.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
dcc1917157
commit
f7cfed155a
23 changed files with 328 additions and 52 deletions
|
@ -542,7 +542,14 @@ def test_favorite_name_suggestion(expression):
|
|||
suggestions = suggest_type(expression, expression)
|
||||
assert suggestions == [{'type': 'favoritequery'}]
|
||||
|
||||
|
||||
def test_order_by():
|
||||
text = 'select * from foo order by '
|
||||
suggestions = suggest_type(text, text)
|
||||
assert suggestions == [{'tables': [(None, 'foo', None)], 'type': 'column'}]
|
||||
|
||||
|
||||
def test_quoted_where():
|
||||
text = "'where i=';"
|
||||
suggestions = suggest_type(text, text)
|
||||
assert suggestions == [{'type': 'keyword'}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue