compat mode that relaxes some of the check_* macros
This commit is contained in:
parent
1e85abd10c
commit
95f4ade4ba
17 changed files with 70 additions and 31 deletions
|
|
@ -570,6 +570,7 @@ mod tests {
|
|||
assert!(payload.is("test", "invalid"));
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "compat"))]
|
||||
#[test]
|
||||
fn test_invalid_status_child() {
|
||||
#[cfg(not(feature = "component"))]
|
||||
|
|
@ -589,6 +590,7 @@ mod tests {
|
|||
assert_eq!(message, "Unknown child in status element.");
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "compat"))]
|
||||
#[test]
|
||||
fn test_invalid_attribute() {
|
||||
#[cfg(not(feature = "component"))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue