refactor: improve test structure and reliability
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
eaf341cdfb
commit
d9072d22d5
@@ -279,7 +279,9 @@ fn main() -> Result<(), Error> {
|
||||
KeepModes::Get => {
|
||||
crate::modes::get::mode_get(&mut cmd, args, ids, tags, &mut conn, data_path)?
|
||||
}
|
||||
KeepModes::Diff => crate::modes::diff::mode_diff(&mut cmd, args, ids, tags, &mut conn, data_path)?,
|
||||
KeepModes::Diff => {
|
||||
crate::modes::diff::mode_diff(&mut cmd, args, ids, tags, &mut conn, data_path)?
|
||||
}
|
||||
KeepModes::List => {
|
||||
crate::modes::list::mode_list(&mut cmd, args, ids, tags, &mut conn, data_path)?
|
||||
}
|
||||
@@ -291,7 +293,7 @@ fn main() -> Result<(), Error> {
|
||||
}
|
||||
KeepModes::Delete => {
|
||||
crate::modes::delete::mode_delete(&mut cmd, args, ids, tags, &mut conn, data_path)?
|
||||
}
|
||||
}
|
||||
KeepModes::Status => crate::modes::status::mode_status(&mut cmd, args, data_path, db_path)?,
|
||||
_ => todo!(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user