Fix test for DiffEditor

Change-Id: I7359fade254b281ebf6422faf7f229bb1b82d8a8
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
jkobus
2014-06-17 09:51:18 +02:00
committed by Jarek Kobus
parent 4b3d8e8278
commit 13dad5afe6

View File

@@ -812,7 +812,7 @@ static FileData readGitHeaderAndChunks(const QString &headerAndChunks,
// will be followed by: index shasha..0000000, file "b" replaced by "/dev/null", @@ -m,n +0,0 @@
const QRegExp deletedFileMode(QLatin1String("(^deleted file mode \\d+\\n)")); // deleted file mode octal
const QRegExp indexRegExp(QLatin1String("(^index (\\w+)\\.{2}(\\w+)(?: \\d+)?\\n)")); // index cap2..cap3(optionally: octal)
const QRegExp indexRegExp(QLatin1String("(^index (\\w+)\\.{2}(\\w+)(?: \\d+)?(\\n|$))")); // index cap2..cap3(optionally: octal)
QString leftFileName = QLatin1String("a/") + fileName;
QString rightFileName = QLatin1String("b/") + fileName;