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

Function test_empty_name

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

Source from the content-addressed store, hash-verified

466
467 #[test]
468 fn test_empty_name() {
469 let result = validate_view_name("");
470 assert!(result.is_err());
471 assert!(result.unwrap_err().contains("empty"));
472 }
473
474 #[test]
475 fn test_name_too_long() {

Callers

nothing calls this directly

Calls 1

validate_view_nameFunction · 0.70

Tested by

no test coverage detected