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

Function test_status_with_path

atomic-cli/src/commands/status.rs:659–662  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

657
658 #[test]
659 fn test_status_with_path() {
660 let status = Status::new().with_path("src/");
661 assert_eq!(status.path, Some("src/".to_string()));
662 }
663
664 #[test]
665 fn test_status_with_short() {

Callers

nothing calls this directly

Calls 1

with_pathMethod · 0.45

Tested by

no test coverage detected