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

Function test_add_builder_chain

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

Source from the content-addressed store, hash-verified

778
779 #[test]
780 fn test_add_builder_chain() {
781 let add = Add::new()
782 .with_files(vec!["src/", "tests/"])
783 .with_dry_run(true)
784 .with_force(true)
785 .with_recursive(true);
786
787 assert_eq!(add.files.len(), 2);
788 assert!(add.dry_run);
789 assert!(add.force);
790 assert!(add.recursive);
791 }
792
793 // TrackingOptions Conversion Tests
794

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