Rename "compat" into "disable-validation", to insist on it breaking some guarantees.

This commit is contained in:
Emmanuel Gil Peyrot 2019-01-12 22:00:46 +01:00
commit c2b7e19378
18 changed files with 39 additions and 39 deletions

View file

@ -570,7 +570,7 @@ mod tests {
assert!(payload.is("test", "invalid"));
}
#[cfg(not(feature = "compat"))]
#[cfg(not(feature = "disable-validation"))]
#[test]
fn test_invalid_status_child() {
#[cfg(not(feature = "component"))]
@ -590,7 +590,7 @@ mod tests {
assert_eq!(message, "Unknown child in status element.");
}
#[cfg(not(feature = "compat"))]
#[cfg(not(feature = "disable-validation"))]
#[test]
fn test_invalid_attribute() {
#[cfg(not(feature = "component"))]