Skip to content

Commit b9d71b7

Browse files
committed
fix indentation
1 parent a2857af commit b9d71b7

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

cpp/unittest/ArduinoUnitTests.h

+23-23
Original file line numberDiff line numberDiff line change
@@ -69,29 +69,29 @@ class Test
6969
}
7070

7171
template <typename A, typename B> void onAssert(
72-
const char* file,
73-
int line,
74-
const char* description,
75-
bool pass,
76-
const char* lhsRelevance,
77-
const char* lhsLabel,
78-
const A &lhs,
79-
const char* opLabel,
80-
const char* rhsRelevance,
81-
const char* rhsLabel,
82-
const B &rhs
83-
) {
84-
cerr << " " << (pass ? "" : "not ") << "ok " << ++mAssertCounter << " - ";
85-
cerr << description << " " << lhsLabel << " " << opLabel << " " << rhsLabel << endl;
86-
if (!pass) {
87-
cerr << " ---" << endl;
88-
cerr << " operator: " << opLabel << endl;
89-
cerr << " " << lhsRelevance << ": " << lhs << endl;
90-
cerr << " " << rhsRelevance << ": " << rhs << endl;
91-
cerr << " at:" << endl;
92-
cerr << " file: " << file << endl;
93-
cerr << " line: " << line << endl;
94-
cerr << " ..." << endl;
72+
const char* file,
73+
int line,
74+
const char* description,
75+
bool pass,
76+
const char* lhsRelevance,
77+
const char* lhsLabel,
78+
const A &lhs,
79+
const char* opLabel,
80+
const char* rhsRelevance,
81+
const char* rhsLabel,
82+
const B &rhs
83+
) {
84+
cerr << " " << (pass ? "" : "not ") << "ok " << ++mAssertCounter << " - ";
85+
cerr << description << " " << lhsLabel << " " << opLabel << " " << rhsLabel << endl;
86+
if (!pass) {
87+
cerr << " ---" << endl;
88+
cerr << " operator: " << opLabel << endl;
89+
cerr << " " << lhsRelevance << ": " << lhs << endl;
90+
cerr << " " << rhsRelevance << ": " << rhs << endl;
91+
cerr << " at:" << endl;
92+
cerr << " file: " << file << endl;
93+
cerr << " line: " << line << endl;
94+
cerr << " ..." << endl;
9595
}
9696
}
9797
};

0 commit comments

Comments
 (0)