MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / no_override_falls_back_to_subdomain

Function no_override_falls_back_to_subdomain

atomic-cli/src/commands/auth.rs:800–808  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

798
799 #[test]
800 fn no_override_falls_back_to_subdomain() {
801 // Use the pure resolver with no configured servers — the wrapper loads
802 // the real global config, which is not hermetic for a unit test.
803 let name = resolve_identity_from_url(
804 "https://aaron.atomic.storage/workspaces/w/projects/p/code",
805 &[],
806 );
807 assert_eq!(name.as_deref(), Some("aaron"));
808 }
809
810 // -- configured server-host identity binding --
811

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected