File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ mod expand {
6363 fn repeated_slashes_are_invalid ( ) {
6464 assert ! ( matches!(
6565 gix_ref:: namespace:: expand( "foo//bar" ) . expect_err( "empty invalid" ) ,
66- gix_validate:: reference:: name:: Error :: RepeatedSlash
66+ gix_validate:: reference:: name:: Error :: Tag ( gix_validate :: tag :: name :: Error :: RepeatedSlash )
6767 ) ) ;
6868 }
6969}
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ fn empty() {
1111fn empty_component ( ) {
1212 assert ! ( matches!(
1313 try_parse( "refs/heads/test:refs/remotes//test" , Operation :: Fetch ) . unwrap_err( ) ,
14- Error :: ReferenceName ( gix_validate:: reference:: name:: Error :: RepeatedSlash )
14+ Error :: ReferenceName ( gix_validate:: reference:: name:: Error :: Tag (
15+ gix_validate:: tag:: name:: Error :: RepeatedSlash
16+ ) )
1517 ) ) ;
1618}
1719
You can’t perform that action at this time.
0 commit comments