Skip to content

Commit 3efa432

Browse files
committed
stop using a reserved name in the example project.
1 parent d1c7aaf commit 3efa432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/test_example_file_crash.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void test_add_numbers_adds_numbers(void) {
1919

2020
void test_add_numbers_will_fail(void) {
2121
// Platform-independent way of forcing a crash
22-
uint32_t* nullptr = (void*) 0;
23-
uint32_t i = *nullptr;
22+
uint32_t* a_null_pointer = (void*)0;
23+
uint32_t i = *a_null_pointer;
2424
TEST_ASSERT_EQUAL_INT(2, add_numbers(i,2));
2525
}

0 commit comments

Comments
 (0)