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

Function test_attest_pending_flag

atomic-cli/src/commands/agent/attest.rs:867–877  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

865
866 #[test]
867 fn test_attest_pending_flag() {
868 let cmd = Attest {
869 hash: None,
870 view: Some("solitary-flower-0915".to_string()),
871 verbose: false,
872 summary: false,
873 pending: Some("dev".to_string()),
874 };
875 assert_eq!(cmd.pending.as_deref(), Some("dev"));
876 assert_eq!(cmd.view.as_deref(), Some("solitary-flower-0915"));
877 }
878
879 #[test]
880 fn test_format_tokens_small() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected