LibCore: Remove Stream::is_{readable,writable}

Next to functions like `is_eof` these were really confusing to use, and
the `read`/`write` functions should fail anyways if a stream is not
readable/writable.
This commit is contained in:
Tim Schumacher 2022-12-11 17:15:48 +01:00 committed by Andreas Kling
commit 5061a905ff
Notes: sideshowbarker 2024-07-17 03:23:05 +09:00
7 changed files with 1 additions and 32 deletions

View file

@ -29,8 +29,6 @@ TEST_CASE(file_open)
// Testing out some basic file properties.
auto file = maybe_file.release_value();
EXPECT(file->is_open());
EXPECT(!file->is_readable());
EXPECT(file->is_writable());
EXPECT(!file->is_eof());
auto maybe_size = file->size();