mirror of
https://github.com/google/benchmark.git
synced 2025-01-14 13:50:13 +08:00
[cleanup] Change == ""
to .empty()
on string to avoid clang-tidy warnings (#1271)
This commit is contained in:
parent
4f31803ebb
commit
8aae0a4f67
@ -36,7 +36,7 @@ struct TestCase {
|
||||
BM_CHECK(run.report_label == label) << "expected " << label << " got "
|
||||
<< run.report_label;
|
||||
} else {
|
||||
BM_CHECK(run.report_label == "");
|
||||
BM_CHECK(run.report_label.empty());
|
||||
}
|
||||
// clang-format on
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user