mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 02:00:50 +08:00
Clang format updates (#1560)
* add comment space directive * Fix clang format issue * wrap in clang-format off
This commit is contained in:
parent
4290915354
commit
ccea7db6c3
@ -3632,12 +3632,12 @@ JSONTEST_FIXTURE_LOCAL(CharReaderAllowSpecialFloatsTest, issue209) {
|
||||
for (const auto& td : test_data) {
|
||||
bool ok = reader->parse(&*td.in.begin(), &*td.in.begin() + td.in.size(),
|
||||
&root, &errs);
|
||||
JSONTEST_ASSERT(td.ok == ok) << "line:" << td.line << "\n"
|
||||
<< " expected: {"
|
||||
<< "ok:" << td.ok << ", in:\'" << td.in << "\'"
|
||||
<< "}\n"
|
||||
<< " actual: {"
|
||||
<< "ok:" << ok << "}\n";
|
||||
// clang-format off
|
||||
JSONTEST_ASSERT(td.ok == ok) <<
|
||||
"line:" << td.line << "\n " <<
|
||||
"expected: {ok:" << td.ok << ", in:\'" << td.in << "\'}\n " <<
|
||||
"actual: {ok:" << ok << "}\n";
|
||||
// clang-format on
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user