()
| 683 | |
| 684 | #[test] |
| 685 | fn test_build_agent_author_fallback() { |
| 686 | // Without a real identity store, this falls back to display name. |
| 687 | // In a real install with ~/.atomic/identities/ configured, it would |
| 688 | // produce the +tag format. |
| 689 | let author = build_agent_author( |
| 690 | "claude-code", |
| 691 | "Claude Code", |
| 692 | "60f5cbd2-aa23-40ee-9085-4375dd186ce7", |
| 693 | ); |
| 694 | |
| 695 | // Can't guarantee identity store exists in test env, so just verify |
| 696 | // the author is valid (either tagged or fallback) |
| 697 | assert!(!author.name.is_empty()); |
| 698 | } |
| 699 | |
| 700 | // extract_toml_string_value |
| 701 |
nothing calls this directly
no test coverage detected