Skip to content

Commit 4b18329

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
TEST: change intefration fs test format and mount order
1 parent ba7b479 commit 4b18329

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)