Skip to content

Commit e423c12

Browse files
author
Seppo Takalo
committed
Small extension to TDBStore moduletest.
1 parent 48fabcf commit e423c12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UNITTESTS/moduletests/storage/kvstore/TDBStore/moduletest.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ TEST_F(TDBStoreModuleTest, remove)
9090
EXPECT_EQ(tdb.remove("key"), MBED_SUCCESS);
9191
// Previous key should not be found
9292
EXPECT_NE(tdb.get("key", buf, 100, &size), MBED_SUCCESS);
93+
EXPECT_EQ(tdb.deinit(), MBED_SUCCESS);
94+
EXPECT_EQ(tdb.init(), MBED_SUCCESS);
95+
EXPECT_NE(tdb.get("key", buf, 100, &size), MBED_SUCCESS);
9396
}
9497

9598
TEST_F(TDBStoreModuleTest, set_deinit_init_get)

0 commit comments

Comments
 (0)