Refactoring: Style applied
This commit is contained in:
parent
4ee4645858
commit
8155b9272f
|
@ -96,11 +96,11 @@ private:
|
||||||
ostr << tok->str();
|
ostr << tok->str();
|
||||||
|
|
||||||
// Append newlines
|
// Append newlines
|
||||||
if ( tok->next() )
|
if (tok->next())
|
||||||
{
|
{
|
||||||
if ( tok->linenr() != tok->next()->linenr() )
|
if (tok->linenr() != tok->next()->linenr())
|
||||||
{
|
{
|
||||||
for (int i=tok->linenr();i < tok->next()->linenr();++i)
|
for (int i = tok->linenr();i < tok->next()->linenr();++i)
|
||||||
ostr << "\n";
|
ostr << "\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -121,7 +121,7 @@ private:
|
||||||
" AAA(5)\n\n";
|
" AAA(5)\n\n";
|
||||||
const char expected[] = "# define AAA ( a ) a * a\n\n"
|
const char expected[] = "# define AAA ( a ) a * a\n\n"
|
||||||
"AAA ( 5 )";
|
"AAA ( 5 )";
|
||||||
ASSERT_EQUALS( expected, tokenizeAndStringify(code) );
|
ASSERT_EQUALS(expected, tokenizeAndStringify(code));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue