mirror of
https://github.com/google/pebble.git
synced 2025-11-20 14:30:55 -05:00
spelling: corrupt
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -424,7 +424,7 @@ void test_shared_prf_storage_v3__write_in_loop_getting_started_confirm_data_stil
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sets the getting started field, then corrupts the getting_started crc
|
// Sets the getting started field, then corrupts the getting_started crc
|
||||||
void test_shared_prf_storage_v3__handle_currupt_field_same(void) {
|
void test_shared_prf_storage_v3__handle_corrupt_field_same(void) {
|
||||||
bool GETTING_STARTED_COMPLETE = true;
|
bool GETTING_STARTED_COMPLETE = true;
|
||||||
shared_prf_storage_set_getting_started_complete(GETTING_STARTED_COMPLETE);
|
shared_prf_storage_set_getting_started_complete(GETTING_STARTED_COMPLETE);
|
||||||
cl_assert_equal_i(shared_prf_storage_get_valid_page_number(), 0);
|
cl_assert_equal_i(shared_prf_storage_get_valid_page_number(), 0);
|
||||||
@@ -470,7 +470,7 @@ void test_shared_prf_storage_v3__handle_currupt_field_same(void) {
|
|||||||
|
|
||||||
// Sets the getting started field, then corrupts the ble_pairing_data crc
|
// Sets the getting started field, then corrupts the ble_pairing_data crc
|
||||||
// This tests that when setting a value, all fields in the struct must be valid.
|
// This tests that when setting a value, all fields in the struct must be valid.
|
||||||
void test_shared_prf_storage_v3__handle_currupt_field_during_setting(void) {
|
void test_shared_prf_storage_v3__handle_corrupt_field_during_setting(void) {
|
||||||
bool GETTING_STARTED_COMPLETE = true;
|
bool GETTING_STARTED_COMPLETE = true;
|
||||||
shared_prf_storage_set_getting_started_complete(GETTING_STARTED_COMPLETE);
|
shared_prf_storage_set_getting_started_complete(GETTING_STARTED_COMPLETE);
|
||||||
cl_assert_equal_i(shared_prf_storage_get_valid_page_number(), 0);
|
cl_assert_equal_i(shared_prf_storage_get_valid_page_number(), 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user