MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / hostname_is_non_empty

Function hostname_is_non_empty

nodedb/src/version.rs:168–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166
167 #[test]
168 fn hostname_is_non_empty() {
169 let h = hostname();
170 assert!(
171 !h.is_empty(),
172 "hostname() must never return an empty string"
173 );
174 }
175
176 #[test]
177 fn build_profile_is_debug_or_release() {

Callers

nothing calls this directly

Calls 1

hostnameFunction · 0.85

Tested by

no test coverage detected