mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-01 14:47:00 +00:00
chore(unit_tests,userspace): use nlhomann json instead of jsoncpp.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
be927edfe8
commit
d1c715e7a8
@@ -108,7 +108,7 @@ TEST(Configuration, schema_yaml_helper_validator)
|
||||
|
||||
// We pass a string variable but not a schema
|
||||
std::string validation;
|
||||
EXPECT_NO_THROW(conf.load_from_string(sample_yaml, Json::Value{}, &validation));
|
||||
EXPECT_NO_THROW(conf.load_from_string(sample_yaml, nlohmann::json{}, &validation));
|
||||
EXPECT_EQ(validation, yaml_helper::validation_none);
|
||||
|
||||
// We pass a schema but not a string storage for the validation; no validation takes place
|
||||
|
Reference in New Issue
Block a user