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

Function test_add_builder_chain

atomic-cli/src/commands/add.rs:632–643  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

630
631 #[test]
632 fn test_add_builder_chain() {
633 let add = Add::new()
634 .with_files(vec!["src/", "tests/"])
635 .with_dry_run(true)
636 .with_force(true)
637 .with_recursive(true);
638
639 assert_eq!(add.files.len(), 2);
640 assert!(add.dry_run);
641 assert!(add.force);
642 assert!(add.recursive);
643 }
644
645 // TrackingOptions Conversion Tests
646

Callers

nothing calls this directly

Calls 4

with_recursiveMethod · 0.45
with_forceMethod · 0.45
with_dry_runMethod · 0.45
with_filesMethod · 0.45

Tested by

no test coverage detected