Merge pull request #6846 from gebart/pr/spiffs-test

unittests: Add missing check for result of vfs_opendir in tests-spiffs
pr/rotary
Vincent Dupont 6 years ago committed by GitHub
commit 1468bc9d5f

@ -252,6 +252,7 @@ static void tests_spiffs_readdir(void)
vfs_DIR dirp;
res = vfs_opendir(&dirp, "/test-spiffs");
TEST_ASSERT_EQUAL_INT(0, res);
vfs_dirent_t entry;
int nb_files = 0;

Loading…
Cancel
Save