Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ void ownerCanStillReadAndWriteAfterRestricting(@TempDir Path tmp) throws IOExcep
// Then — this is the non-POSIX equivalent of the POSIX branch's `rw-------`
// FileAttribute; it must not lock the owner itself out of the file it just created
assertThat(result).isEqualTo(file);
assertThat(file.toFile().canRead()).isTrue();
assertThat(file.toFile().canWrite()).isTrue();
assertThat(file.toFile()).canRead();
assertThat(file.toFile()).canWrite();
}
}
}
Loading