You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extras/test/src/test_OTALogic.cpp
+2-2
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ TEST_CASE("OTAStorage writing to storage file fails", "[OTAStorage::write() -> f
124
124
/* Configure mock object */
125
125
When(Method(ota_storage, init)).Return(true);
126
126
When(Method(ota_storage, open)).Return(true);
127
-
When(Method(ota_storage, write)).AlwaysDo([](uint8_tconst * const/* buf */, size_tconst/* num_bytes */) -> size_t { return0/* should return num_bytes in case of succes*/;});
127
+
When(Method(ota_storage, write)).AlwaysDo([](uint8_tconst * const/* buf */, size_tconst/* num_bytes */) -> size_t { return0/* should return num_bytes in case of success*/;});
128
128
Fake(Method(ota_storage, close));
129
129
Fake(Method(ota_storage, remove));
130
130
Fake(Method(ota_storage, deinit));
@@ -231,7 +231,7 @@ TEST_CASE("Valid OTA data is received ", "[OTALogic]")
0 commit comments