test: use example.test placeholder host, not .invalid

leak-guard bans the .invalid TLD (grouped with private .internal/.local/etc);
example.test is the RFC 6761 reserved test TLD — equally unreachable, not on
the ban list — so the leak-guard CI check passes.
This commit is contained in:
Matthew Jackson
2026-07-10 08:52:57 -07:00
parent cce2d5fe77
commit d21857d92e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -416,7 +416,7 @@ mod tests {
/// it's the deliberate no-op stub.
#[test]
fn host_certs_is_noop_empty_no_network() {
let src = OnlineSource::new("http://example.invalid/keys", "secret");
let src = OnlineSource::new("http://example.test/keys", "secret");
assert!(
KeySource::host_certs(&src, None).is_empty(),
"online host_certs must be an empty no-op (no network)"