Actually fix issue with CHECK

This commit is contained in:
Dominic Hamon 2014-12-02 12:58:14 -08:00
parent d31977bb69
commit b40b66ab3b
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ static void BM_Factorial(benchmark::State& state) {
while (state.KeepRunning())
fac_42 = Factorial(8);
// Prevent compiler optimizations
CHECK(fac_42 != std::numeric_limits<int>::max());
EXPECT_NE(fac_42, std::numeric_limits<int>::max());
}
BENCHMARK(BM_Factorial);
#endif