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

Function source_labels_are_stable

atomic-cli/src/commands/agent/identity.rs:440–453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

438
439 #[test]
440 fn source_labels_are_stable() {
441 assert_eq!(
442 AgentIdentitySource::EnvVar.to_string(),
443 "ATOMIC_AGENT_IDENTITY env var"
444 );
445 assert_eq!(
446 AgentIdentitySource::GlobalSetting.to_string(),
447 "global setting (~/.atomic/config.toml)"
448 );
449 assert_eq!(
450 AgentIdentitySource::ServerProfile.to_string(),
451 "active server profile"
452 );
453 }
454}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected