Overview
| Comment: | consolidate and clarify |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b9af445709f44406a03b0599aaba5c7b |
| User & Date: | arcade on 2026-07-31 15:42:49.197 |
| Other Links: | manifest | tags |
Context
|
2026-08-01
| ||
| 09:06 | remove lazy_static check-in: 997fb1cff4 user: arcade tags: trunk | |
|
2026-07-31
| ||
| 15:53 | bumps, fixes, tests - quinn-proto: https://rustsec.org/advisories/RUSTSEC-2026-0185 Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly - serde_with: https://github.com/jonasbb/serde_with/security/advisories/GHSA-7gcf-g7xr-8hxj KeyValueMap serialization panics on empty sequence or map entries Bad or attacker controlled values could cause a panic while allocating too large values. - html tags are now case insensitive - error propagation and handling fixes - more tests, convert to lib+bin check-in: f4660639ca user: arcade tags: release, v0.6.6 | |
| 15:42 | consolidate and clarify check-in: b9af445709 user: arcade tags: trunk | |
| 15:21 | make get_id public and add some tests for it check-in: e45c7e529b user: arcade tags: trunk | |
Changes
Modified tests/mail.rs
from [eefa2c7a93]
to [5610b717c8].
| ︙ | ︙ | |||
24 25 26 27 28 29 30 | "#, config::FileFormat::Toml)) .build() .stack()?; MailServer::new(settings) } #[test] | | > | > | < | | < | | < | < < < < < | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
"#, config::FileFormat::Toml))
.build()
.stack()?;
MailServer::new(settings)
}
#[test]
fn get_id_returns_configured_recipient () -> Result<()> {
let server = build_server()?;
let cases = [
("someone@example.com", 1),
("someone", 0),
("root", -1),
("unknown@example.com", 0),
];
for (email, id) in cases {
assert_eq!(*server.get_id(email)?, ChatPeerId::from(id), "email [{email}] expected to return id [{id}]");
}
Ok(())
}
|