Skip to content

Commit a3c79a9

Browse files
author
Rohit Grover
committed
test_programDataUsingProgramUnit: add a call to verifyBytePattern() following Erase()
1 parent 591159d commit a3c79a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TESTS/storage_abstraction/basicAPI/basicAPI.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ control_t test_programDataUsingProgramUnit(const size_t call_count)
373373
return (call_count < REPEAT_INSTANCES) ? CaseTimeout(200) + CaseRepeatAll: CaseTimeout(200);
374374
} else {
375375
TEST_ASSERT_EQUAL(firstBlock.attributes.erase_unit, rc);
376+
verifyBytePattern(addr, firstBlock.attributes.erase_unit, (uint8_t)0xFF);
376377

377378
static const uint32_t BYTE_PATTERN = 0xAA551122;
378379
size_t sizeofData = info.program_unit;

0 commit comments

Comments
 (0)