Skip to content

Commit

Permalink
Actually fix issue with CHECK
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Dec 2, 2014
1 parent d31977b commit b40b66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/benchmark_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b40b66a

Please sign in to comment.