Skip to content

Commit 3787998

Browse files
authored
Merge pull request #11582 from jamesbeyond/integration_test
TEST: change integration fs test format and mount order
2 parents 828fd23 + 4b18329 commit 3787998

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

TESTS/integration/fs-single/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ LittleFileSystem fs("sd");
6666

6767
static control_t test_format(const size_t call_count)
6868
{
69+
int format_err = fs.format(&sd);
70+
TEST_ASSERT_EQUAL_INT_MESSAGE(0, format_err, "could not format block device");
71+
6972
int mount_err = fs.mount(&sd);
7073
TEST_ASSERT_EQUAL_INT_MESSAGE(0, mount_err, "could not mount block device");
7174

72-
int format_err = fs.reformat(&sd);
73-
TEST_ASSERT_EQUAL_INT_MESSAGE(0, format_err, "could not format block device");
74-
7575
return CaseNext;
7676
}
7777

0 commit comments

Comments
 (0)