Skip to content

Commit ccea7db

Browse files
authored
Clang format updates (#1560)
* add comment space directive * Fix clang format issue * wrap in clang-format off
1 parent 4290915 commit ccea7db

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test_lib_json/main.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -3632,12 +3632,12 @@ JSONTEST_FIXTURE_LOCAL(CharReaderAllowSpecialFloatsTest, issue209) {
36323632
for (const auto& td : test_data) {
36333633
bool ok = reader->parse(&*td.in.begin(), &*td.in.begin() + td.in.size(),
36343634
&root, &errs);
3635-
JSONTEST_ASSERT(td.ok == ok) << "line:" << td.line << "\n"
3636-
<< " expected: {"
3637-
<< "ok:" << td.ok << ", in:\'" << td.in << "\'"
3638-
<< "}\n"
3639-
<< " actual: {"
3640-
<< "ok:" << ok << "}\n";
3635+
// clang-format off
3636+
JSONTEST_ASSERT(td.ok == ok) <<
3637+
"line:" << td.line << "\n " <<
3638+
"expected: {ok:" << td.ok << ", in:\'" << td.in << "\'}\n " <<
3639+
"actual: {ok:" << ok << "}\n";
3640+
// clang-format on
36413641
}
36423642

36433643
{

0 commit comments

Comments
 (0)