Add proper error reporting when invalid settings are provided in StandardJSON

This commit is contained in:
Alex Beregszaszi
2018-09-21 14:53:24 +01:00
parent 785cbf4005
commit a515173900
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -640,7 +640,7 @@ BOOST_AUTO_TEST_CASE(libraries_invalid_entry)
}
)";
Json::Value result = compile(input);
BOOST_CHECK(containsError(result, "JSONError", "library entry is not a JSON object."));
BOOST_CHECK(containsError(result, "JSONError", "Library entry is not a JSON object."));
}
BOOST_AUTO_TEST_CASE(libraries_invalid_hex)