diff options
author | Dominic Hamon <dominichamon@users.noreply.github.com> | 2021-06-24 18:21:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 18:21:59 +0100 |
commit | 6a5bf081d34b719aeea5a2eb2c83a17c2f24514f (patch) | |
tree | 852d451122fe8c6a9c7b99ec8be5f700c87f68bb /test/skip_with_error_test.cc | |
parent | 5da566042943805be87d19bed05092d21410f77c (diff) | |
download | google-benchmark-6a5bf081d34b719aeea5a2eb2c83a17c2f24514f.tar.gz |
prefix macros to avoid clashes (#1186)
Diffstat (limited to 'test/skip_with_error_test.cc')
-rw-r--r-- | test/skip_with_error_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
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); } } }; |