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

Function test_ended_recorded_with_files

atomic-agent/src/turn/phase.rs:1049–1057  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1047
1048 #[test]
1049 fn test_ended_recorded_with_files() {
1050 let ctx = TransitionContext::with_files_changed();
1051 let r = transition(Phase::Ended, Event::Recorded, ctx);
1052 assert_eq!(r.new_phase, Phase::Ended);
1053 assert_eq!(
1054 r.actions,
1055 vec![Action::RecordIfChanged, Action::UpdateInteraction]
1056 );
1057 }
1058
1059 #[test]
1060 fn test_ended_recorded_without_files() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected