Merge branch 'redacted_test_serial' into 'main'

safelog: Apply #[serial] to test_redacted()

Closes #675

See merge request tpo/core/arti!914
This commit is contained in:
Ian Jackson 2022-11-30 17:38:12 +00:00
commit 17ba4a1cc2
1 changed files with 1 additions and 0 deletions

View File

@ -387,6 +387,7 @@ mod test {
}
#[test]
#[serial]
fn test_redacted() {
let localhost = std::net::Ipv4Addr::LOCALHOST;
let closure = || format!("{}", localhost.redacted());