tests: Convert EXPECT_EQ(bool -> EXPECT_{TRUE,FALSE}
This is more in line with normal gtest code style.
Change-Id: If49f700f756ad8d278927baae4e934ef7aa399d7
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/timer_test.cpp b/test/timer_test.cpp
index e9f323b..3deef08 100644
--- a/test/timer_test.cpp
+++ b/test/timer_test.cpp
@@ -30,11 +30,11 @@
count++;
}
}
- EXPECT_EQ(true, timer.expired());
+ EXPECT_TRUE(timer.expired());
EXPECT_EQ(expireTime.count() - 1, count);
// Make sure secondary callback was not called.
- EXPECT_EQ(false, expired);
+ EXPECT_FALSE(expired);
}
/** @brief Starts the timer and expects it to expire
@@ -64,9 +64,9 @@
count++;
}
}
- EXPECT_EQ(true, timer.expired());
+ EXPECT_TRUE(timer.expired());
EXPECT_EQ(expireTime.count() - 1, count);
// This gets set as part of secondary callback
- EXPECT_EQ(true, expired);
+ EXPECT_TRUE(expired);
}