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

Function test_display_minimal

atomic-core/src/change/envelope.rs:945–952  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

943
944 #[test]
945 fn test_display_minimal() {
946 let e = make_minimal_envelope();
947 let s = e.to_string();
948 assert!(s.contains("Turn 1"));
949 assert!(s.contains("s1"));
950 assert!(s.contains("test-agent"));
951 assert!(!s.contains("—")); // no prompt
952 }
953
954 #[test]
955 fn test_display_long_prompt_truncated() {

Callers

nothing calls this directly

Calls 1

make_minimal_envelopeFunction · 0.85

Tested by

no test coverage detected