aboutsummaryrefslogtreecommitdiff
path: root/test/skip_with_error_test.cc
diff options
context:
space:
mode:
authorDominic Hamon <dominichamon@users.noreply.github.com>2021-06-24 18:21:59 +0100
committerGitHub <noreply@github.com>2021-06-24 18:21:59 +0100
commit6a5bf081d34b719aeea5a2eb2c83a17c2f24514f (patch)
tree852d451122fe8c6a9c7b99ec8be5f700c87f68bb /test/skip_with_error_test.cc
parent5da566042943805be87d19bed05092d21410f77c (diff)
downloadgoogle-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.cc10
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);
}
}
};