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

Function parse_visibility_invalid

atomic-cli/src/commands/workspace/create.rs:176–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174
175 #[test]
176 fn parse_visibility_invalid() {
177 let cmd = WorkspaceCreate {
178 name: "test".to_string(),
179 visibility: "bogus".to_string(),
180 ..Default::default()
181 };
182 let err = cmd.parse_visibility();
183 assert!(err.is_err());
184 }
185
186 #[test]
187 fn empty_name_rejected() {

Callers

nothing calls this directly

Calls 1

parse_visibilityMethod · 0.45

Tested by

no test coverage detected