[cleanup] Change == "" to .empty() on string to avoid clang-tidy warnings (#1271)

This commit is contained in:
Vy Nguyen 2021-11-03 10:54:07 -04:00 committed by GitHub
parent 4f31803ebb
commit 8aae0a4f67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}