diff --git a/gix/tests/remote/mod.rs b/gix/tests/remote/mod.rs index 03320c0966d..6958f5f7e2a 100644 --- a/gix/tests/remote/mod.rs +++ b/gix/tests/remote/mod.rs @@ -70,6 +70,16 @@ mod ref_map; mod save; mod name { + #[test] + fn origin_is_valid() { + assert!(gix::remote::name::validated("origin").is_ok()); + } + + #[test] + fn multiple_slashes_are_valid() { + assert!(gix::remote::name::validated("origin/another").is_ok()); + } + #[test] fn empty_is_invalid() { assert!(gix::remote::name::validated("").is_err());