[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 7ff28ce183
commit 404e21289a
1 changed files with 2 additions and 0 deletions

View File

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