Skip to content

Commit 85aeb74

Browse files
committed
Remove unreliable unit test
1 parent 80ff7fc commit 85aeb74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_context.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ namespace ArduinoContextTest
1515

1616
void test_reset(void)
1717
{
18+
#if false // Unit test is unreliable: assumes memory is not recycled.
1819
ArduinoFakeContext* context = getArduinoFakeContext();
1920
ArduinoFakeInstances* instances = context->Instances;
2021

2122
ArduinoFakeReset();
2223

2324
TEST_ASSERT_NOT_EQUAL(context->Instances, instances);
25+
#endif
2426
}
2527

2628
void test_function_mock(void)

0 commit comments

Comments
 (0)