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

Function test_recorded_actions

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

Source from the content-addressed store, hash-verified

944
945 #[test]
946 fn test_recorded_actions() {
947 let mut builder = RecordBuilder::new();
948 builder.add_hunk(create_test_file_add_hunk());
949 builder.add_hunk(create_test_file_add_hunk());
950
951 let recorded = builder.finish();
952
953 assert_eq!(recorded.actions().len(), 2);
954 }
955
956 // Configuration Tests
957

Callers

nothing calls this directly

Calls 3

add_hunkMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected