@@ -19,7 +19,7 @@ mod version {
19
19
#[ test]
20
20
fn lookup ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
21
21
let object_hash = gix_hash:: Kind :: Sha1 ;
22
- let file = index:: File :: at ( & fixture_path ( INDEX_V1 ) , object_hash) ?;
22
+ let file = index:: File :: at ( fixture_path ( INDEX_V1 ) , object_hash) ?;
23
23
for ( id, desired_index, assertion) in & [
24
24
( & b"036bd66fe9b6591e959e6df51160e636ab1a682e" [ ..] , Some ( 0 ) , "first" ) ,
25
25
( b"f7f791d96b9a34ef0f08db4b007c5309b9adc3d6" , Some ( 65 ) , "close to last" ) ,
@@ -63,7 +63,7 @@ mod version {
63
63
#[ test]
64
64
fn lookup ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
65
65
let object_hash = gix_hash:: Kind :: Sha1 ;
66
- let file = index:: File :: at ( & fixture_path ( INDEX_V2 ) , object_hash) ?;
66
+ let file = index:: File :: at ( fixture_path ( INDEX_V2 ) , object_hash) ?;
67
67
for ( id, expected, assertion_message, hex_len) in [
68
68
( & b"0ead45fc727edcf5cadca25ef922284f32bb6fc1" [ ..] , Some ( 0 ) , "first" , 4 ) ,
69
69
( b"e800b9c207e17f9b11e321cc1fba5dfe08af4222" , Some ( 29 ) , "last" , 40 ) ,
0 commit comments