From 6a5bf081d34b719aeea5a2eb2c83a17c2f24514f Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Thu, 24 Jun 2021 18:21:59 +0100 Subject: prefix macros to avoid clashes (#1186) --- test/skip_with_error_test.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/skip_with_error_test.cc') diff --git a/test/skip_with_error_test.cc b/test/skip_with_error_test.cc index 827966e..1156bc0 100644 --- a/test/skip_with_error_test.cc +++ b/test/skip_with_error_test.cc @@ -33,14 +33,14 @@ struct TestCase { typedef benchmark::BenchmarkReporter::Run Run; void CheckRun(Run const& run) const { - CHECK(name == run.benchmark_name()) + BM_CHECK(name == run.benchmark_name()) << "expected " << name << " got " << run.benchmark_name(); - CHECK(error_occurred == run.error_occurred); - CHECK(error_message == run.error_message); + BM_CHECK(error_occurred == run.error_occurred); + BM_CHECK(error_message == run.error_message); if (error_occurred) { - // CHECK(run.iterations == 0); + // BM_CHECK(run.iterations == 0); } else { - CHECK(run.iterations != 0); + BM_CHECK(run.iterations != 0); } } }; -- cgit v1.2.3