refactor(tvix/store): remove useless clone in test
Change-Id: If62887cbc3338110cb7c815ec2ee2160fae04353 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8111 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: raitobezarius <tvl@lahfa.xyz>
This commit is contained in:
parent
80f68bf828
commit
95aec51b2c
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ fn validate_references() {
|
||||||
signatures: vec![],
|
signatures: vec![],
|
||||||
reference_names: vec![format!("/nix/store/{}", DUMMY_NAME)],
|
reference_names: vec![format!("/nix/store/{}", DUMMY_NAME)],
|
||||||
}),
|
}),
|
||||||
..path_info.clone()
|
..path_info
|
||||||
};
|
};
|
||||||
assert!(path_info_with_narinfo.validate().is_ok());
|
assert!(path_info_with_narinfo.validate().is_ok());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue