astyle formatting

This commit is contained in:
Daniel Marjamki 2010-05-14 18:40:37 +02:00
parent 8b1ffefd74
commit 85afa86da3
2 changed files with 4 additions and 3 deletions

View File

@ -193,7 +193,7 @@ bool MathLib::isInt(const std::string & s)
};
// unsigned or long
while (std::tolower(s[n]) == 'u' || std::tolower(s[n]) == 'l') ++n;
if(bStartsWithDigit==false)
return false;
}

View File

@ -125,8 +125,9 @@ void TestFixture::assertEquals(const char *filename, int linenr, const std::stri
<< writestr(expected) << std::endl
<< "Actual:" << std::endl
<< writestr(actual) << std::endl;
if (!msg.empty()) {
errmsg << msg << std::endl;
if (!msg.empty())
{
errmsg << msg << std::endl;
}
}
}