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

Function test_empty_name

atomic-cli/src/commands/view/new.rs:472–476  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

470
471 #[test]
472 fn test_empty_name() {
473 let result = validate_view_name("");
474 assert!(result.is_err());
475 assert!(result.unwrap_err().contains("empty"));
476 }
477
478 #[test]
479 fn test_name_too_long() {

Callers

nothing calls this directly

Calls 1

validate_view_nameFunction · 0.70

Tested by

no test coverage detected