Skip to content

Commit 57425b6

Browse files
committed
tests/vfs_fat_ramdisk: Add testcase for .remove().
1 parent 19749db commit 57425b6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/extmod/vfs_fat_ramdisk.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ def ioctl(self, op, arg):
5757
assert b"hello!" in bdev.data
5858

5959
assert vfs.listdir() == ['foo_file.txt']
60+
61+
vfs.remove('foo_file.txt')
62+
assert vfs.listdir() == []

0 commit comments

Comments
 (0)