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

Function test_recorded_take_actions

atomic-core/src/record/builder.rs:896–904  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

894
895 #[test]
896 fn test_recorded_take_actions() {
897 let mut builder = RecordBuilder::new();
898 builder.add_hunk(create_test_file_add_hunk());
899
900 let recorded = builder.finish();
901 let actions = recorded.take_actions();
902
903 assert_eq!(actions.len(), 1);
904 }
905
906 #[test]
907 fn test_recorded_take_contents() {

Callers

nothing calls this directly

Calls 4

take_actionsMethod · 0.80
add_hunkMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected