Fix clippy and track in CI
`flake check` will run clippy.
This commit is contained in:
parent
654addc555
commit
351a206776
13 changed files with 82 additions and 50 deletions
|
|
@ -22,3 +22,6 @@ tempfile = "3.10"
|
|||
pkg-config = "0.3"
|
||||
# Needed for version parsing in build.rs
|
||||
nix-bindings-util = { path = "../nix-bindings-util" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
|
|
@ -514,7 +514,7 @@ mod tests {
|
|||
#[test]
|
||||
fn parse_store_path_fail() {
|
||||
let mut store = crate::store::Store::open(Some("dummy://"), []).unwrap();
|
||||
let store_path_string = format!("bash-interactive-5.2p26");
|
||||
let store_path_string = "bash-interactive-5.2p26".to_string();
|
||||
let r = store.parse_store_path(store_path_string.as_str());
|
||||
match r {
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue