diff --git a/CHANGELOG.md b/CHANGELOG.md index 99b36497..82622869 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [0.16.10] - 2026-06-XX +## [0.16.10] - 2026-06-21 If you are upgrading from v0.16.x, replace the binary (or run `docker pull`). If you are upgrading from v0.15.x and below, please read the [upgrading documentation](https://github.com/stalwartlabs/stalwart/blob/main/UPGRADING/v0_16.md) for more information on how to upgrade from previous versions. diff --git a/tests/src/smtp/inbound/rcpt.rs b/tests/src/smtp/inbound/rcpt.rs index e83fe6c6..5f0041c2 100644 --- a/tests/src/smtp/inbound/rcpt.rs +++ b/tests/src/smtp/inbound/rcpt.rs @@ -203,7 +203,10 @@ async fn rcpt() { session.mail_from("idn@example.net", "250").await; session.rcpt_to("cornelius@straß6.de", "250").await; session.rcpt_to("cornelius@xn--stra6-oqa.de", "250").await; - assert_eq!(session.data.rcpt_to.len(), 2); + assert_eq!(session.data.rcpt_to.len(), 1); + let rcpt = session.data.rcpt_to.last().unwrap(); + assert_eq!(rcpt.address_lcase, "cornelius@xn--stra6-oqa.de"); + assert_eq!(rcpt.domain, "xn--stra6-oqa.de"); let mut session = test.new_mta_session(); session.data.remote_ip_str = "10.0.0.1".into();