mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-15 15:16:47 +02:00
fix clang-format error for ci (#1036)
* fix clang-format error for ci * update
This commit is contained in:
@@ -378,8 +378,8 @@ void Runner::preventDialogOnCrash() {
|
||||
_CrtSetReportHook(&msvcrtSilentReportHook);
|
||||
#endif // if defined(_MSC_VER)
|
||||
|
||||
// @todo investigate this handler (for buffer overflow)
|
||||
// _set_security_error_handler
|
||||
// @todo investigate this handler (for buffer overflow)
|
||||
// _set_security_error_handler
|
||||
|
||||
#if defined(_WIN32)
|
||||
// Prevents the system from popping a dialog for debugging if the
|
||||
|
@@ -1391,8 +1391,10 @@ void ValueTest::checkIs(const Json::Value& value, const IsCheck& check) {
|
||||
|
||||
JSONTEST_FIXTURE(ValueTest, compareNull) {
|
||||
JSONTEST_ASSERT_PRED(checkIsEqual(Json::Value(), Json::Value()));
|
||||
JSONTEST_ASSERT_PRED(checkIsEqual(Json::Value::nullSingleton(), Json::Value()));
|
||||
JSONTEST_ASSERT_PRED(checkIsEqual(Json::Value::nullSingleton(), Json::Value::nullSingleton()));
|
||||
JSONTEST_ASSERT_PRED(
|
||||
checkIsEqual(Json::Value::nullSingleton(), Json::Value()));
|
||||
JSONTEST_ASSERT_PRED(
|
||||
checkIsEqual(Json::Value::nullSingleton(), Json::Value::nullSingleton()));
|
||||
}
|
||||
|
||||
JSONTEST_FIXTURE(ValueTest, compareInt) {
|
||||
@@ -2644,8 +2646,7 @@ JSONTEST_FIXTURE(IteratorTest, indexes) {
|
||||
JSONTEST_FIXTURE(IteratorTest, const) {
|
||||
Json::Value const v;
|
||||
JSONTEST_ASSERT_THROWS(
|
||||
Json::Value::iterator it(v.begin()) // Compile, but throw.
|
||||
);
|
||||
Json::Value::iterator it(v.begin())); // Compile, but throw.
|
||||
|
||||
Json::Value value;
|
||||
|
||||
|
Reference in New Issue
Block a user