Move helper up and avoid trailing spaces.

This commit is contained in:
chriseth
2020-04-23 13:16:26 +02:00
parent 16ed53ddd0
commit 35eae96a7f
10 changed files with 15 additions and 44 deletions
-8
View File
@@ -94,14 +94,6 @@ void EwasmTranslationTest::printUpdatedExpectations(ostream& _stream, string con
printIndented(_stream, m_obtainedResult, _linePrefix);
}
void EwasmTranslationTest::printIndented(ostream& _stream, string const& _output, string const& _linePrefix) const
{
stringstream output(_output);
string line;
while (getline(output, line))
_stream << _linePrefix << line << endl;
}
bool EwasmTranslationTest::parse(ostream& _stream, string const& _linePrefix, bool const _formatted)
{
AssemblyStack stack(