Skip to content

Commit

Permalink
Fix broken expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
dralley committed Dec 22, 2023
1 parent 02de175 commit 767a43d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/rpm/package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ impl PackageMetadata {
flags: FileFlags::from_bits_retain(flags),
size: size as usize,
caps: cap,
linkto: linkto,
linkto,
ima_signature,
});
Ok(acc)
Expand Down
4 changes: 2 additions & 2 deletions tests/parsing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,8 @@ fn test_empty_source_package() -> Result<(), Box<dyn std::error::Error>> {
path: PathBuf::from("rpm-empty.spec"),
mode: FileMode::Regular { permissions: 0o644 },
ownership: FileOwnership {
user: "dalley".to_owned(),
group: "dalley".to_owned()
user: "root".to_owned(),
group: "root".to_owned()
},
modified_at: Timestamp(1681068559),
size: 162,
Expand Down

0 comments on commit 767a43d

Please sign in to comment.