diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-05-01 12:45:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 12:45:28 +0200 |
commit | a802899491ba87218d7878bc4ac73dcf59c9275e (patch) | |
tree | 79f93adb6287f48379df549b5f2ea85b3b5bd550 /test | |
parent | 1348ef7de811bd8416286664ec6e0bdce20636d0 (diff) | |
parent | 4dd9abd6a9df35ef6b6488cccdd3b4a7f80c094a (diff) | |
download | mitmproxy-a802899491ba87218d7878bc4ac73dcf59c9275e.tar.gz mitmproxy-a802899491ba87218d7878bc4ac73dcf59c9275e.tar.bz2 mitmproxy-a802899491ba87218d7878bc4ac73dcf59c9275e.zip |
Merge pull request #3956 from sarthak212/consoleerror
console error
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/test_command_lexer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mitmproxy/test_command_lexer.py b/test/mitmproxy/test_command_lexer.py index cdda1085..ec994087 100644 --- a/test/mitmproxy/test_command_lexer.py +++ b/test/mitmproxy/test_command_lexer.py @@ -16,6 +16,7 @@ from mitmproxy import command_lexer ("'foo'x", False), ('''"foo ''', True), ('''"foo 'bar' ''', True), + ('"foo\\', True), ] ) def test_partial_quoted_string(test_input, valid): @@ -34,6 +35,7 @@ def test_partial_quoted_string(test_input, valid): ("'foo'x", ["'foo'", 'x']), ('''"foo''', ['"foo']), ('''"foo 'bar' ''', ['''"foo 'bar' ''']), + ('"foo\\', ['"foo\\']), ] ) def test_expr(test_input, expected): |