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

Emmanuel Gil Peyrot created

Change summary

src/sasl.rs | 4 ++++
1 file changed, 4 insertions(+)

Detailed changes

src/sasl.rs 🔗

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