mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
test: move coverage on ParseNonRFCJSONValue() to UniValue::read()
Preparation to deprecate ParseNonRFCJSONValue() but keep test coverage on the underlying UniValue::read() unaffected. The test coverage on AmountFromValue is no longer included, since that is already tested in the rpc_parse_monetary_values test case. Fuzzing coverage on ParseNonRFCJSONValue() was duplicated between string.cpp and parse_univalue.cpp, only the one in parse_univalue.cpp is kept.
This commit is contained in:
@@ -159,10 +159,6 @@ FUZZ_TARGET(string)
|
||||
const util::Settings settings;
|
||||
(void)OnlyHasDefaultSectionSetting(settings, random_string_1, random_string_2);
|
||||
(void)ParseNetwork(random_string_1);
|
||||
try {
|
||||
(void)ParseNonRFCJSONValue(random_string_1);
|
||||
} catch (const std::runtime_error&) {
|
||||
}
|
||||
(void)ParseOutputType(random_string_1);
|
||||
(void)RemovePrefix(random_string_1, random_string_2);
|
||||
(void)ResolveErrMsg(random_string_1, random_string_2);
|
||||
|
||||
Reference in New Issue
Block a user