Skip to content

Commit

Permalink
#360: Fix unit test OS-specific paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Jun 26, 2024
1 parent 9c83a1e commit be4410e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scan/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3590,7 +3590,7 @@ mod tests {
backups: VecDeque::from(vec![FullBackup {
name: ".".into(),
files: btree_map! {
mapping_file_key("/file1.txt"): IndividualMappingFile { hash: "3a52ce780950d4d969792a2559cd519d7ee8c727".into(), size: 1 },
"X:/file1.txt".into(): IndividualMappingFile { hash: "3a52ce780950d4d969792a2559cd519d7ee8c727".into(), size: 1 },
},
..Default::default()
}]),
Expand Down Expand Up @@ -3629,7 +3629,7 @@ mod tests {
.to_utc(),
os: Some(Os::Windows),
files: btree_map! {
mapping_file_key("/file1.txt"): Some(IndividualMappingFile { hash: "3a52ce780950d4d969792a2559cd519d7ee8c727".into(), size: 1 }),
"X:/file1.txt".into(): Some(IndividualMappingFile { hash: "3a52ce780950d4d969792a2559cd519d7ee8c727".into(), size: 1 }),
},
..Default::default()
}]),
Expand All @@ -3647,7 +3647,7 @@ mod tests {
.to_utc(),
os: Some(Os::Windows),
files: btree_map! {
mapping_file_key("/file1.txt"): IndividualMappingFile { hash: "3a52ce780950d4d969792a2559cd519d7ee8c727".into(), size: 1 },
"X:/file1.txt".into(): IndividualMappingFile { hash: "3a52ce780950d4d969792a2559cd519d7ee8c727".into(), size: 1 },
},
..Default::default()
}]),
Expand Down

0 comments on commit be4410e

Please sign in to comment.