MCPcopy Create free account
hub / github.com/dbcli/mycli / test_inside_quotes_backtick_02

Function test_inside_quotes_backtick_02

test/pytests/test_completion_engine.py:1770–1775  ·  view source on GitHub ↗

Empty backtick pairs are treated as a doubled (escaped) backtick. This is okay because it is invalid SQL, and we don't have to complete on it.

()

Source from the content-addressed store, hash-verified

1768
1769
1770def test_inside_quotes_backtick_02():
1771 """Empty backtick pairs are treated as a doubled (escaped) backtick.
1772 This is okay because it is invalid SQL, and we don't have to complete on it.
1773 """
1774 text = 'select ``'
1775 assert is_inside_quotes(text, -1) is False
1776
1777
1778def test_inside_quotes_backtick_03():

Callers

nothing calls this directly

Calls 1

is_inside_quotesFunction · 0.90

Tested by

no test coverage detected