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

Function test_validate_view_name_with_slash

atomic-cli/src/commands/init.rs:884–888  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

882
883 #[test]
884 fn test_validate_view_name_with_slash() {
885 let init = Init::new().with_view("feature/branch");
886 let result = init.validate_view_name();
887 assert!(result.is_err());
888 }
889
890 #[test]
891 fn test_validate_view_name_with_backslash() {

Callers

nothing calls this directly

Calls 2

validate_view_nameMethod · 0.80
with_viewMethod · 0.45

Tested by

no test coverage detected