From d396881816cd256cb12d03deebea445cba99ea85 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Mon, 9 Sep 2024 16:39:29 +0200 Subject: name change --- src/pathinfo.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/pathinfo.rs b/src/pathinfo.rs index 5b9aa21..8b1ca2f 100644 --- a/src/pathinfo.rs +++ b/src/pathinfo.rs @@ -375,7 +375,7 @@ mod tests { config.root = "./backup-test".to_string(); config .directories - .push("u:fx/code/proj/arps/backup-test-dir".to_string()); + .push("u:fx/code/proj/arbs/backup-test-dir".to_string()); create_dir_all("./backup-test-dir")?; let mut f = File::create("./backup-test-dir/size.txt")?; @@ -395,12 +395,12 @@ mod tests { let mut f = File::create("./backup-test-dir/content.txt")?; f.write_all("unmodefied".as_bytes())?; - let pi = PathInfo::from_path(&config, "u:fx/code/proj/arps/backup-test-dir")?; + let pi = PathInfo::from_path(&config, "u:fx/code/proj/arbs/backup-test-dir")?; let last_backup = Backup::get_last(&config)?.unwrap(); for file in pi.children { println!("test rel: {}", file.rel_location); - let res = if file.rel_location == "code/proj/arps/backup-test-dir/nothing.txt" { + let res = if file.rel_location == "code/proj/arbs/backup-test-dir/nothing.txt" { Some(last_backup.id.clone()) } else { None -- cgit v1.2.3