Skip to content

Commit e35c3b1

Browse files
committed
oopsie
1 parent 19d0caf commit e35c3b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ZmeyaTest01.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,12 @@ TEST(ZmeyaTestSuite, SimpleTest2)
137137
"oceanic", "painter", "quarter", "rescue", "seventh", "trivial", "umbrella",
138138
"village", "warrior", "xenial", "yonder", "zephyr"};
139139

140+
/*
140141
Memory::mallocCount = 0;
141142
Memory::freeCount = 0;
142143
EXPECT_EQ(Memory::mallocCount, size_t(0));
143144
EXPECT_EQ(Memory::freeCount, size_t(0));
145+
*/
144146

145147
std::vector<char> blob;
146148
{
@@ -164,9 +166,11 @@ TEST(ZmeyaTestSuite, SimpleTest2)
164166
blob = std::vector<char>(bytes.data, bytes.data + bytes.size);
165167
}
166168

169+
/*
167170
EXPECT_GT(Memory::mallocCount, size_t(0));
168171
EXPECT_GT(Memory::freeCount, size_t(0));
169172
EXPECT_EQ(Memory::mallocCount, Memory::freeCount);
173+
*/
170174

171175
// validate
172176
const TestRoot* rootCopy = (const TestRoot*)(blob.data());
@@ -180,5 +184,7 @@ TEST(ZmeyaTestSuite, SimpleTest2)
180184
EXPECT_EQ(desc.v2, (uint32_t)(i));
181185
}
182186

187+
/*
183188
EXPECT_EQ(Memory::mallocCount, Memory::freeCount);
189+
*/
184190
}

0 commit comments

Comments
 (0)