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 {
63
63
fn repeated_slashes_are_invalid ( ) {
64
64
assert ! ( matches!(
65
65
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 )
67
67
) ) ;
68
68
}
69
69
}
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ fn empty() {
11
11
fn empty_component ( ) {
12
12
assert ! ( matches!(
13
13
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
+ ) )
15
17
) ) ;
16
18
}
17
19
You can’t perform that action at this time.
0 commit comments