diff --git a/crates/dav/src/xml/text_match.rs b/crates/dav/src/xml/text_match.rs index 7934964..e5e5d0a 100644 --- a/crates/dav/src/xml/text_match.rs +++ b/crates/dav/src/xml/text_match.rs @@ -147,7 +147,7 @@ mod tests { assert!(MatchType::Contains.match_text(&TextCollation::AsciiCasemap, "GrüN", "grün")); assert!(MatchType::Contains.match_text(&TextCollation::AsciiCasemap, "GrüN", "grün")); assert!(MatchType::StartsWith.match_text(&TextCollation::Octet, "hello", "hello you")); - assert!(MatchType::EndsWith.match_text(&TextCollation::Octet, "joe", "joe mama")); + assert!(MatchType::EndsWith.match_text(&TextCollation::Octet, "mama", "joe mama")); assert!(MatchType::Equals.match_text(&TextCollation::UnicodeCasemap, "GrÜN", "grün")); } }