Update: optimize universal file read ability.

This commit is contained in:
Stitch-z 2023-09-20 14:09:01 +08:00
parent 35067ab0d1
commit 3b8b9639b5

View file

@ -23,3 +23,4 @@ async def test_write_and_read_file(root_path: Path, filename: str, content: byte
assert root_path / filename == full_file_name
file_data = await File.read(full_file_name)
assert file_data.decode("utf-8") == content