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

Function test_empty_name

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

Source from the content-addressed store, hash-verified

548
549 #[test]
550 fn test_empty_name() {
551 let result = validate_view_name("");
552 assert!(result.is_err());
553 assert!(result.unwrap_err().contains("empty"));
554 }
555
556 #[test]
557 fn test_name_too_long() {

Callers

nothing calls this directly

Calls 1

validate_view_nameFunction · 0.70

Tested by

no test coverage detected