1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

[ADT][Statistics] Fix test after rL374490

llvm-svn: 374518
This commit is contained in:
Kadir Cetinkaya 2019-10-11 07:19:54 +00:00
parent 2b71024acc
commit 2fe8ff20bf

View File

@ -68,6 +68,8 @@ TEST(StatisticTest, Assign) {
TEST(StatisticTest, API) { TEST(StatisticTest, API) {
EnableStatistics(); EnableStatistics();
// Reset beforehand to make sure previous tests don't effect this one.
ResetStatistics();
Counter = 0; Counter = 0;
EXPECT_EQ(Counter, 0u); EXPECT_EQ(Counter, 0u);