Commit 900123b6 authored by Christophe Palmann's avatar Christophe Palmann

TEST: TestHelper::RegressionTestAsciiFile, move string iterators correctly...

TEST: TestHelper::RegressionTestAsciiFile, move string iterators correctly especially when ignoring lines
parent 56ac7f30
......@@ -446,10 +446,11 @@ int TestHelper::RegressionTestAsciiFile(const char * testAsciiFileName, const ch
// }
}
if (ignoreCurrentLineRef) ++itRef;
if (ignoreCurrentLineTest) ++itTest;
if (m_IgnoreLineOrder)
{
if (ignoreCurrentLineRef) ++itRef;
if (ignoreCurrentLineTest) ++itTest;
if ((!ignoreCurrentLineRef) && (!ignoreCurrentLineTest))
{
if (differenceFoundInCurrentLine)
......@@ -474,8 +475,11 @@ int TestHelper::RegressionTestAsciiFile(const char * testAsciiFileName, const ch
}
else
{
++itRef;
++itTest;
if ((!ignoreCurrentLineRef) && (!ignoreCurrentLineTest))
{
++itRef;
++itTest;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment