Private
Public Access
1
0

style: fix rustfmt formatting for CI

This commit is contained in:
2026-05-18 23:54:15 +00:00
parent b6809dc935
commit f3fb84927a
4 changed files with 14 additions and 7 deletions

View File

@ -477,7 +477,10 @@ async fn test_registration_payload_structure() {
// Verify hostname field (optional, may be present or absent)
// When present, it should be a non-empty string without dots (short hostname)
if let Some(hostname) = payload.get("hostname").and_then(|v| v.as_str()) {
assert!(!hostname.is_empty(), "hostname should not be empty when present");
assert!(
!hostname.is_empty(),
"hostname should not be empty when present"
);
assert!(
!hostname.contains('.'),
"hostname should be short form (no dots), got: {}",