Skip to content

Commit

Permalink
Add more asserts.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Feb 1, 2025
1 parent ca993fb commit bd42b86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fs/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ mod tests {
assert_eq!(some_stat.st_mode, 0 as RawMode);
assert_eq!(some_stat.st_dev, 0 as Dev);
assert_eq!(some_stat.st_rdev, 0 as Dev);
assert_eq!(some_stat.st_uid, 0 as crate::ugid::RawUid);
assert_eq!(some_stat.st_gid, 0 as crate::ugid::RawGid);

// `Stat` should match `c::stat` or `c::stat64` unless we need y2038
// fixes and are using a different layout.
Expand Down

0 comments on commit bd42b86

Please sign in to comment.