mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-27 17:10:46 +00:00
chore: Enable clang-tidy modernize checks (#6975)
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com> Co-authored-by: Bart <bthomee@users.noreply.github.com>
This commit is contained in:
@@ -53,7 +53,8 @@ class Version_test : public beast::unit_test::suite
|
||||
{
|
||||
if (re["error_what"].isString())
|
||||
{
|
||||
return re["error_what"].asString().find(jss::invalid_API_version.c_str()) == 0;
|
||||
return re["error_what"].asString().starts_with(
|
||||
jss::invalid_API_version.c_str());
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user