mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
tests/vfs_fat_ramdisk: Add testcase for .remove().
This commit is contained in:
@@ -57,3 +57,6 @@ assert b"FOO_FILETXT" in bdev.data
|
||||
assert b"hello!" in bdev.data
|
||||
|
||||
assert vfs.listdir() == ['foo_file.txt']
|
||||
|
||||
vfs.remove('foo_file.txt')
|
||||
assert vfs.listdir() == []
|
||||
|
||||
Reference in New Issue
Block a user