TEST: change intefration fs test format and mount order

pull/11582/head
Qinghao Shi 2019-09-27 00:28:28 +01:00
parent ba7b4799f9
commit 4b18329094
1 changed files with 3 additions and 3 deletions

View File

@ -66,12 +66,12 @@ LittleFileSystem fs("sd");
static control_t test_format(const size_t call_count)
{
int format_err = fs.format(&sd);
TEST_ASSERT_EQUAL_INT_MESSAGE(0, format_err, "could not format block device");
int mount_err = fs.mount(&sd);
TEST_ASSERT_EQUAL_INT_MESSAGE(0, mount_err, "could not mount block device");
int format_err = fs.reformat(&sd);
TEST_ASSERT_EQUAL_INT_MESSAGE(0, format_err, "could not format block device");
return CaseNext;
}