Skip to content

Commit 9c081b7

Browse files
committed
tests/vfs_fat_ramdisk: Add .listdir() testcase.
1 parent cd6d189 commit 9c081b7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/extmod/vfs_fat_ramdisk.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,5 @@ def ioctl(self, op, arg):
5555

5656
assert b"FOO_FILETXT" in bdev.data
5757
assert b"hello!" in bdev.data
58+
59+
assert vfs.listdir() == ['foo_file.txt']

0 commit comments

Comments
 (0)