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

Function parse_project_path_valid

atomic-cli/src/commands/project/mod.rs:184–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182
183 #[test]
184 fn parse_project_path_valid() {
185 let (ws, proj) = parse_project_path("my-ws/my-proj").unwrap();
186 assert_eq!(ws, "my-ws");
187 assert_eq!(proj, "my-proj");
188 }
189
190 #[test]
191 fn parse_project_path_extra_slashes_takes_first() {

Callers

nothing calls this directly

Calls 2

parse_project_pathFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected