boon test suite itself passing
This commit is contained in:
@ -15,7 +15,7 @@ fn test_debug() -> Result<(), Box<dyn Error>> {
|
||||
let url = "http://debug.com/schema.json";
|
||||
compiler.add_resource(url, test["schema"].clone())?;
|
||||
let sch = compiler.compile(url, &mut schemas)?;
|
||||
let result = schemas.validate(&test["data"], sch);
|
||||
let result = schemas.validate(&test["data"], sch, None);
|
||||
if let Err(e) = &result {
|
||||
for line in format!("{e}").lines() {
|
||||
println!(" {line}");
|
||||
|
||||
Reference in New Issue
Block a user