diff --git a/tests/extmod/vfs_fat_ramdisk.py b/tests/extmod/vfs_fat_ramdisk.py index e514fe2285..8ccce27714 100644 --- a/tests/extmod/vfs_fat_ramdisk.py +++ b/tests/extmod/vfs_fat_ramdisk.py @@ -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() == []