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

Function test_status_with_path_string

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

Source from the content-addressed store, hash-verified

2108
2109 #[test]
2110 fn test_status_with_path_string() {
2111 let status = Status::new().with_path(String::from("src/commands/"));
2112 assert_eq!(status.path, Some("src/commands/".to_string()));
2113 }
2114
2115 #[test]
2116 fn test_status_with_path_str() {

Callers

nothing calls this directly

Calls 1

with_pathMethod · 0.45

Tested by

no test coverage detected