Skip to content

Commit 85afa86

Browse files
author
Daniel Marjam�ki
committed
astyle formatting
1 parent 8b1ffef commit 85afa86

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/mathlib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ bool MathLib::isInt(const std::string & s)
193193
};
194194
// unsigned or long
195195
while (std::tolower(s[n]) == 'u' || std::tolower(s[n]) == 'l') ++n;
196-
196+
197197
if(bStartsWithDigit==false)
198198
return false;
199199
}

test/testsuite.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ void TestFixture::assertEquals(const char *filename, int linenr, const std::stri
125125
<< writestr(expected) << std::endl
126126
<< "Actual:" << std::endl
127127
<< writestr(actual) << std::endl;
128-
if (!msg.empty()) {
129-
errmsg << msg << std::endl;
128+
if (!msg.empty())
129+
{
130+
errmsg << msg << std::endl;
130131
}
131132
}
132133
}

0 commit comments

Comments
 (0)