Merge pull request #11582 from jamesbeyond/integration_test

TEST: change integration fs test format and mount order
pull/11607/head
Martin Kojtal 2019-10-01 13:33:19 +02:00 committed by GitHub
commit 3787998069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}