directory seek test: code does not agree with comment. Fix code.
the directory was opened with the seek right, and this test says that it was asserting that the seek right was present. However, the test was actually asserting that the seek right was *not* present. This fixes the code of the test, because I believe the comment is correct.
This commit is contained in:
@@ -33,7 +33,7 @@ unsafe fn test_directory_seek(dir_fd: wasi::Fd) {
|
||||
);
|
||||
assert_eq!(
|
||||
(fdstat.fs_rights_base & wasi::RIGHTS_FD_SEEK),
|
||||
0,
|
||||
wasi::RIGHTS_FD_SEEK,
|
||||
"directory has the seek right",
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user