diff options
author | landybird <37992065+landybird@users.noreply.github.com> | 2021-03-12 18:17:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 18:17:07 +0800 |
commit | 4d93a1fb7736052e894ad54aeb4c2c4ef4fb5614 (patch) | |
tree | 8fe7194da20d96d2a01187a51a234bdf32838e70 | |
parent | 5f4d69708e52ed7e0fcabb62828c233c2facc206 (diff) |
Update test_utils.py (#379)
fix typos :
`blackslash` => 'backslash',
`test_stipe_quote_escaple_in_quote` => `test_stripe_quote_escape_in_quote`
-rw-r--r-- | tests/unittests/test_utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittests/test_utils.py b/tests/unittests/test_utils.py index c9b5eff..98ea8db 100644 --- a/tests/unittests/test_utils.py +++ b/tests/unittests/test_utils.py @@ -53,11 +53,11 @@ def test_timer(): (r""" "hello\"world" """, ['hello"world']), (r"''", [""]), # set foo "" is a legal command (r'""', [""]), # set foo "" is a legal command - (r"\\", ["\\\\"]), # blackslash are legal - ("\\hello\\", ["\\hello\\"]), # blackslash are legal + (r"\\", ["\\\\"]), # backslash are legal + ("\\hello\\", ["\\hello\\"]), # backslash are legal ], ) -def test_stipe_quote_escaple_in_quote(test_input, expected): +def test_stripe_quote_escape_in_quote(test_input, expected): assert list(strip_quote_args(test_input)) == expected |