1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 18:24:27 +01:00

Ability to set size of pointer list, smaller default size

This commit is contained in:
jsalling
2016-12-23 22:53:24 -06:00
parent 0603c1cf1e
commit 53bdb6897f
3 changed files with 6 additions and 4 deletions

View File

@@ -465,7 +465,7 @@ TEST(LeakDetection, PointerSettingMax)
TEST_IGNORE();
#else
int i;
for (i = 0; i < 50; i++) UT_PTR_SET(pointer1, &int1);
for (i = 0; i < UNITY_MAX_POINTERS; i++) UT_PTR_SET(pointer1, &int1);
UnityOutputCharSpy_Enable(1);
EXPECT_ABORT_BEGIN
UT_PTR_SET(pointer1, &int1);