diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_string.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_string.py b/tests/test_string.py new file mode 100644 index 0000000..5d3040b --- /dev/null +++ b/tests/test_string.py @@ -0,0 +1,6 @@ +from rainbow_parenthesis import colorize, Colored +import io + + +def test_escaped_parenthesis(): + assert list(r"\(") == list(colorize(io.StringIO(r"\("))) |