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:614–622  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

612
613 #[test]
614 fn no_override_falls_back_to_subdomain() {
615 // Use the pure resolver with no configured servers — the wrapper loads
616 // the real global config, which is not hermetic for a unit test.
617 let name = resolve_identity_from_url(
618 "https://aaron.atomic.storage/workspaces/w/projects/p/code",
619 &[],
620 );
621 assert_eq!(name.as_deref(), Some("aaron"));
622 }
623
624 // -- configured server-host identity binding --
625

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected