summaryrefslogtreecommitdiffstats
path: root/tests/unittests/test_utils.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-20 09:32:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-20 09:32:05 +0000
commit8e34d9e75f42158fd0553a1583a38c64c373151c (patch)
tree97210524cb84512c477421e1950f2c6f7e1a3089 /tests/unittests/test_utils.py
parentAdding upstream version 1.14.0. (diff)
downloadiredis-8e34d9e75f42158fd0553a1583a38c64c373151c.tar.xz
iredis-8e34d9e75f42158fd0553a1583a38c64c373151c.zip
Adding upstream version 1.14.1.upstream/1.14.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/unittests/test_utils.py')
-rw-r--r--tests/unittests/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/test_utils.py b/tests/unittests/test_utils.py
index 98ea8db..e00eaff 100644
--- a/tests/unittests/test_utils.py
+++ b/tests/unittests/test_utils.py
@@ -55,6 +55,7 @@ def test_timer():
(r'""', [""]), # set foo "" is a legal command
(r"\\", ["\\\\"]), # backslash are legal
("\\hello\\", ["\\hello\\"]), # backslash are legal
+ ('foo "bar\\n1"', ["foo", "bar\n1"]),
],
)
def test_stripe_quote_escape_in_quote(test_input, expected):