From 8cbb72719df623cbd3c1d36b91fc3ca01d8cfe34 Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:31:09 +0100 Subject: [PATCH] fix text-match test --- crates/dav/src/xml/text_match.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); } }