Skip to content

Commit

Permalink
fix type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
hijackthe2 committed Nov 6, 2023
1 parent 0d51c7e commit d4f688f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/src/stargz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ mod tests {
entry.toc_type = "fifo".to_owned();
assert!(entry.is_fifo());
assert!(entry.is_special());
assert_eq!(entry.mode(), libc::S_IFIFO);
assert_eq!(entry.mode(), libc::S_IFIFO as u32);
assert_eq!(entry.rdev(), 65313);

assert_eq!(entry.name().unwrap().to_str(), Some("all-entry-type.tar"));
Expand Down

0 comments on commit d4f688f

Please sign in to comment.