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

Function test_outcome_display_singular

atomic-agent/src/record/tests.rs:933–947  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

931
932#[test]
933fn test_outcome_display_singular() {
934 let outcome = TurnRecordOutcome {
935 hash: Hash::of(b"test"),
936 turn_number: 1,
937 file_count: 1,
938 message: "Turn 1: Init".to_string(),
939 recorded_files: vec!["a.rs".to_string()],
940 unhashed_data: None,
941 git_transition: None,
942 };
943
944 let display = outcome.to_string();
945 assert!(display.contains("1 file)"));
946 assert!(!display.contains("1 files"));
947}
948
949#[test]
950fn test_outcome_recorded_file_list() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected