Skip to content

Commit 1f4913b

Browse files
author
NK
committed
style: apply ruff format to the config continuation tests
1 parent 89a720a commit 1f4913b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/test_config.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ def test_backslash_line_continuation(self):
148148
exactly as git config parses it: the final backslash and the newline
149149
are removed and the next line is appended verbatim."""
150150
cases = [
151-
(b'[a]\n\tk = line1\\\n line2\n', "line1 line2"),
152-
(b'[a]\n\tk = one\\\n two\\\n three\n', "one two three"),
153-
(b'[a]\n\tk = val\\\\\n next\n', "val\\\\"),
154-
(b'[a]\n\tk = end\\\n', "end"),
155-
(b'[alias]\n\tco = checkout \\\n\t\t-v\n', "checkout \t\t-v"),
151+
(b"[a]\n\tk = line1\\\n line2\n", "line1 line2"),
152+
(b"[a]\n\tk = one\\\n two\\\n three\n", "one two three"),
153+
(b"[a]\n\tk = val\\\\\n next\n", "val\\\\"),
154+
(b"[a]\n\tk = end\\\n", "end"),
155+
(b"[alias]\n\tco = checkout \\\n\t\t-v\n", "checkout \t\t-v"),
156156
]
157157
for content, expected in cases:
158158
config_file = io.BytesIO(content)

0 commit comments

Comments
 (0)