Skip to content

Commit e8b61cb

Browse files
committed
style: run clang-format
1 parent 2fe880d commit e8b61cb

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/test_lib_json/main.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1993,7 +1993,8 @@ JSONTEST_FIXTURE_LOCAL(ValueTest, StaticString) {
19931993

19941994
JSONTEST_FIXTURE_LOCAL(ValueTest, WideString) {
19951995
// https://github.com/open-source-parsers/jsoncpp/issues/756
1996-
const std::string uni = reinterpret_cast<const char*>(u8"\u5f0f\uff0c\u8fdb"); // "式,进"
1996+
const std::string uni =
1997+
reinterpret_cast<const char*>(u8"\u5f0f\uff0c\u8fdb"); // "式,进"
19971998
std::string styled;
19981999
{
19992000
Json::Value v;
@@ -3110,8 +3111,8 @@ JSONTEST_FIXTURE_LOCAL(ReaderTest, strictModeParseNumber) {
31103111

31113112
JSONTEST_FIXTURE_LOCAL(ReaderTest, parseChineseWithOneError) {
31123113
checkParse(reinterpret_cast<const char*>(R"({ "pr)"
3113-
u8"\u4f50\u85e4" // 佐藤
3114-
R"(erty" :: "value" })"),
3114+
u8"\u4f50\u85e4" // 佐藤
3115+
R"(erty" :: "value" })"),
31153116
{{18, 19, "Syntax error: value, object or array expected."}},
31163117
"* Line 1, Column 19\n Syntax error: value, object or array "
31173118
"expected.\n");
@@ -3223,7 +3224,8 @@ JSONTEST_FIXTURE_LOCAL(CharReaderTest, parseString) {
32233224
bool ok = reader->parse(doc, doc + std::strlen(doc), &root, &errs);
32243225
JSONTEST_ASSERT(ok);
32253226
JSONTEST_ASSERT(errs.empty());
3226-
JSONTEST_ASSERT_EQUAL(reinterpret_cast<const char*>(u8"\u8A2a"), root[0].asString()); // "訪"
3227+
JSONTEST_ASSERT_EQUAL(reinterpret_cast<const char*>(u8"\u8A2a"),
3228+
root[0].asString()); // "訪"
32273229
}
32283230
{
32293231
char const doc[] = R"([ "\uD801" ])";

0 commit comments

Comments
 (0)