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

Function parse_project_path_no_slash

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

Source from the content-addressed store, hash-verified

196
197 #[test]
198 fn parse_project_path_no_slash() {
199 let result = parse_project_path("noslash");
200 assert!(result.is_err());
201 match result.unwrap_err() {
202 CliError::InvalidArgument { message } => {
203 assert!(message.contains("workspace/project"));
204 assert!(message.contains("noslash"));
205 }
206 other => panic!("expected InvalidArgument, got {:?}", other),
207 }
208 }
209
210 #[test]
211 fn parse_project_path_empty_string() {

Callers

nothing calls this directly

Calls 1

parse_project_pathFunction · 0.85

Tested by

no test coverage detected