diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2021-11-15 03:31:32 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2021-11-15 03:31:32 +0000 |
commit | 8348ac7e15ea3923f448b8c8da927d343ea560eb (patch) | |
tree | a9ac602b4370b837ae50f1fd9456c2c436c34345 /tests | |
parent | Adding upstream version 0.1.1. (diff) | |
download | pydyf-8348ac7e15ea3923f448b8c8da927d343ea560eb.tar.xz pydyf-8348ac7e15ea3923f448b8c8da927d343ea560eb.zip |
Adding upstream version 0.1.2.upstream/0.1.2
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pydyf.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_pydyf.py b/tests/test_pydyf.py index 87d9763..1e758a5 100644 --- a/tests/test_pydyf.py +++ b/tests/test_pydyf.py @@ -706,3 +706,6 @@ def test_string_encoding(): assert pydyf.String('abc').data == b'(abc)' assert pydyf.String('déf').data == b'<feff006400e90066>' assert pydyf.String('♡').data == b'<feff2661>' + assert pydyf.String('\\abc').data == b'(\\\\abc)' + assert pydyf.String('abc(').data == b'(abc\\()' + assert pydyf.String('ab)c').data == b'(ab\\)c)' |