Skip to content

Commit bd42b86

Browse files
committed
Add more asserts.
1 parent ca993fb commit bd42b86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fs/constants.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ mod tests {
5353
assert_eq!(some_stat.st_mode, 0 as RawMode);
5454
assert_eq!(some_stat.st_dev, 0 as Dev);
5555
assert_eq!(some_stat.st_rdev, 0 as Dev);
56+
assert_eq!(some_stat.st_uid, 0 as crate::ugid::RawUid);
57+
assert_eq!(some_stat.st_gid, 0 as crate::ugid::RawGid);
5658

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

0 commit comments

Comments
 (0)