no-op
This commit is contained in:
@ -320,8 +320,6 @@ fn enhance_error_message(message: &str) -> (String, String) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Extract a better format message
|
// Extract a better format message
|
||||||
fn extract_format_message(message: &str) -> String {
|
fn extract_format_message(message: &str) -> String {
|
||||||
if message.contains("date-time") {
|
if message.contains("date-time") {
|
||||||
|
|||||||
@ -538,4 +538,4 @@ fn test_auto_strict_validation() {
|
|||||||
|
|
||||||
let result_permissive = validate_json_schema(schema_id_permissive, jsonb(instance_with_extra));
|
let result_permissive = validate_json_schema(schema_id_permissive, jsonb(instance_with_extra));
|
||||||
assert_success_with_json!(result_permissive, "Instance with extra property should pass when additionalProperties is explicitly true, even with strict=true");
|
assert_success_with_json!(result_permissive, "Instance with extra property should pass when additionalProperties is explicitly true, even with strict=true");
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user