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

Function test_should_diff_default

atomic-core/src/record/workflow/options.rs:553–561  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

551
552 #[test]
553 fn test_should_diff_default() {
554 let opts = WorkflowOptions::new();
555
556 // mtime unchanged - should NOT diff (optimization)
557 assert!(!opts.should_diff(true));
558
559 // mtime changed - should diff
560 assert!(opts.should_diff(false));
561 }
562
563 #[test]
564 fn test_should_diff_force_rediff() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected