| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 89a720a commit 1f4913b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -148,11 +148,11 @@ def test_backslash_line_continuation(self): | |||
| 148 | 148 | exactly as git config parses it: the final backslash and the newline | |
| 149 | 149 | are removed and the next line is appended verbatim.""" | |
| 150 | 150 | 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"), | ||
| 156 | 156 | ] | |
| 157 | 157 | for content, expected in cases: | |
| 158 | 158 | config_file = io.BytesIO(content) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments