Clang format updates (#1560)

* add comment space directive

* Fix clang format issue

* wrap in clang-format off
This commit is contained in:
Jordan Bayles 2024-09-09 17:07:11 -07:00 committed by GitHub
parent 4290915354
commit ccea7db6c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3632,12 +3632,12 @@ JSONTEST_FIXTURE_LOCAL(CharReaderAllowSpecialFloatsTest, issue209) {
for (const auto& td : test_data) { for (const auto& td : test_data) {
bool ok = reader->parse(&*td.in.begin(), &*td.in.begin() + td.in.size(), bool ok = reader->parse(&*td.in.begin(), &*td.in.begin() + td.in.size(),
&root, &errs); &root, &errs);
JSONTEST_ASSERT(td.ok == ok) << "line:" << td.line << "\n" // clang-format off
<< " expected: {" JSONTEST_ASSERT(td.ok == ok) <<
<< "ok:" << td.ok << ", in:\'" << td.in << "\'" "line:" << td.line << "\n " <<
<< "}\n" "expected: {ok:" << td.ok << ", in:\'" << td.in << "\'}\n " <<
<< " actual: {" "actual: {ok:" << ok << "}\n";
<< "ok:" << ok << "}\n"; // clang-format on
} }
{ {