Skip to content

Commit 72ebaac

Browse files
committed
Add test case for single quote escape
1 parent f2b21fe commit 72ebaac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pycovenantsql/tests/test_basic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def test_string(self):
6969
self.safe_create_table(
7070
conn, "test_string", "create table test_string (a text)")
7171
test_value = "I am a test string"
72+
test_value = "My friends had no problem buying #bitcoin at $7K all the way to $20K. Most of them have panic sold at a loss and now won't dare to re-invest at $4K. Something tells me this cycle will repeat again at $40K to $80K per $BTC. 🤔"
7273

7374
c.execute("insert into test_string (a) values (%s)", test_value)
7475
c.execute("select a from test_string")

0 commit comments

Comments
 (0)