mirror of
https://github.com/google/benchmark.git
synced 2025-02-06 01:00:17 +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 "
|
BM_CHECK(run.report_label == label) << "expected " << label << " got "
|
||||||
<< run.report_label;
|
<< run.report_label;
|
||||||
} else {
|
} else {
|
||||||
BM_CHECK(run.report_label == "");
|
BM_CHECK(run.report_label.empty());
|
||||||
}
|
}
|
||||||
// clang-format on
|
// clang-format on
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user