Skip to content

Commit e3c2b07

Browse files
committed
Fix failing tests
1 parent c36336a commit e3c2b07

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Bug Fixes
1010

1111
* Fix a bug where the `\llm` command on alternate invocations weren't detected correctly. (#211)
12+
* Do not escape upper table or column name. [(#185)](https://github.com/dbcli/litecli/issues/185)
1213

1314
### Internal
1415

tests/test_smart_completion_public_schema_only.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def test_auto_escaped_col_names(completer, complete_event):
314314
result = list(completer.get_completions(Document(text=text, cursor_position=position), complete_event))
315315
assert result == [
316316
Completion(text="*", start_position=0),
317-
Completion(text="`ABC`", start_position=0),
317+
Completion(text="ABC", start_position=0),
318318
Completion(text="`insert`", start_position=0),
319319
Completion(text="id", start_position=0),
320320
] + list(map(Completion, completer.functions)) + [Completion(text="select", start_position=0)] + list(
@@ -329,7 +329,7 @@ def test_un_escaped_table_names(completer, complete_event):
329329
assert result == list(
330330
[
331331
Completion(text="*", start_position=0),
332-
Completion(text="`ABC`", start_position=0),
332+
Completion(text="ABC", start_position=0),
333333
Completion(text="`insert`", start_position=0),
334334
Completion(text="id", start_position=0),
335335
]

0 commit comments

Comments
 (0)