sasl: Add back the assert, with the correct @xml:lang this time.

This commit is contained in:
Emmanuel Gil Peyrot 2019-01-12 20:41:12 +01:00
parent 047649dbc8
commit ee511e653a

View file

@ -300,5 +300,9 @@ mod tests {
.unwrap(); .unwrap();
let failure = Failure::try_from(elem).unwrap(); let failure = Failure::try_from(elem).unwrap();
assert_eq!(failure.defined_condition, DefinedCondition::NotAuthorized); assert_eq!(failure.defined_condition, DefinedCondition::NotAuthorized);
assert_eq!(
failure.texts[""],
String::from("Invalid username or password")
);
} }
} }