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

Function test_move_builder_chain

atomic-cli/src/commands/mv.rs:314–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312
313 #[test]
314 fn test_move_builder_chain() {
315 let cmd = Move::new("src/old.rs", "src/new.rs")
316 .with_dry_run(true)
317 .with_force(true);
318
319 assert_eq!(cmd.source, "src/old.rs");
320 assert_eq!(cmd.destination, "src/new.rs");
321 assert!(cmd.dry_run);
322 assert!(cmd.force);
323 }
324
325 // Path Resolution Tests
326

Callers

nothing calls this directly

Calls 2

with_forceMethod · 0.45
with_dry_runMethod · 0.45

Tested by

no test coverage detected