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

Function test_validate_view_name_valid

atomic-cli/src/commands/split.rs:298–303  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

296
297 #[test]
298 fn test_validate_view_name_valid() {
299 assert!(validate_view_name("feature").is_ok());
300 assert!(validate_view_name("feature-auth").is_ok());
301 assert!(validate_view_name("release-1.0.0").is_ok());
302 assert!(validate_view_name("my_stack").is_ok());
303 }
304
305 #[test]
306 fn test_validate_view_name_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected