From aa1e96cd44f6d5cd77a96648ac1f2dbcca9dc367 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 4 Jan 2020 04:19:33 +0000 Subject: solver: allow literal '\r' character in diff lines While filenames are escaped, the actual diff contents may contain an unescaped "\r" carriage return byte not in front of the "\n" line feed. So just allow "\r" to appear in the middle of a line. --- xt/solver.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xt') diff --git a/xt/solver.t b/xt/solver.t index e9f24e7f..4ff57fe7 100644 --- a/xt/solver.t +++ b/xt/solver.t @@ -20,6 +20,8 @@ my $app = sub { # TODO: convert these to self-contained test cases my $todo = { 'git' => [ + '9e9048b02bd04d287461543d85db0bb715b89f8c' + .'/s/?b=t%2Ft3420%2Fremove-ids.sed', 'eebf7a8/s/?b=t%2Ftest-lib.sh', 'eb580ca513/s/?b=remote-odb.c', '776fa90f7f/s/?b=contrib/git-jump/git-jump', -- cgit v1.2.3-24-ge0c7