Remove trailing whitespace in test.

This commit is contained in:
chriseth 2019-12-03 08:54:46 +01:00
parent bbeb093abf
commit f713b7e158
5 changed files with 10 additions and 10 deletions

View File

@ -87,7 +87,7 @@ TestCase::TestResult FunctionSideEffects::run(ostream& _stream, string const& _l
m_obtainedResult.clear();
for (auto const& fun: functionSideEffectsStr)
m_obtainedResult += fun.first + ": " + fun.second + "\n";
m_obtainedResult += fun.first + ":" + (fun.second.empty() ? "" : " ") + fun.second + "\n";
if (m_expectation != m_obtainedResult)
{

View File

@ -5,6 +5,6 @@
}
// ----
// : movable, sideEffectFree, sideEffectFreeIfNoMSize
// a:
// b:
// c:
// a:
// b:
// c:

View File

@ -4,5 +4,5 @@
}
// ----
// : movable, sideEffectFree, sideEffectFreeIfNoMSize
// a:
// b:
// a:
// b:

View File

@ -3,4 +3,4 @@
}
// ----
// : movable, sideEffectFree, sideEffectFreeIfNoMSize
// a:
// a:

View File

@ -4,6 +4,6 @@
pop(f())
}
// ----
// :
// f:
// g:
// :
// f:
// g: