mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-09 15:48:43 +00:00
Merge pull request #91 from PR0M3TH3AN/codex/fix-workflow-error-in-github
Fix formatting for db tests
This commit is contained in:
@@ -194,7 +194,7 @@ fn backup_and_restore_cycle() {
|
|||||||
// backup
|
// backup
|
||||||
let backup = db::backup(&db_path).unwrap();
|
let backup = db::backup(&db_path).unwrap();
|
||||||
drop(live); // close connection on Windows
|
drop(live); // close connection on Windows
|
||||||
// remove original
|
// remove original
|
||||||
std::fs::remove_file(&db_path).unwrap();
|
std::fs::remove_file(&db_path).unwrap();
|
||||||
// restore
|
// restore
|
||||||
db::restore(&backup, &db_path).unwrap();
|
db::restore(&backup, &db_path).unwrap();
|
||||||
|
Reference in New Issue
Block a user