File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 \t k = line1\\ \n line2\n ' , "line1 line2" ),
152- (b' [a]\n \t k = one\\ \n two\\ \n three\n ' , "one two three" ),
153- (b' [a]\n \t k = val\\ \\ \n next\n ' , "val\\ \\ " ),
154- (b' [a]\n \t k = end\\ \n ' , "end" ),
155- (b' [alias]\n \t co = checkout \\ \n \t \t -v\n ' , "checkout \t \t -v" ),
151+ (b" [a]\n \t k = line1\\ \n line2\n " , "line1 line2" ),
152+ (b" [a]\n \t k = one\\ \n two\\ \n three\n " , "one two three" ),
153+ (b" [a]\n \t k = val\\ \\ \n next\n " , "val\\ \\ " ),
154+ (b" [a]\n \t k = end\\ \n " , "end" ),
155+ (b" [alias]\n \t co = checkout \\ \n \t \t -v\n " , "checkout \t \t -v" ),
156156 ]
157157 for content , expected in cases :
158158 config_file = io .BytesIO (content )
You can’t perform that action at this time.
0 commit comments