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.
()
| 1768 | |
| 1769 | |
| 1770 | def 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 | |
| 1778 | def test_inside_quotes_backtick_03(): |
nothing calls this directly
no test coverage detected