feat: Use C++ 23 standard (#7431)

This commit is contained in:
Ayaz Salikhov
2026-06-09 18:36:17 +01:00
committed by GitHub
parent 0fb1aca461
commit fccb109e48
62 changed files with 412 additions and 894 deletions

View File

@@ -2018,8 +2018,8 @@ class Delegate_test : public beast::unit_test::Suite
auto jrr = env.rpc("json", "sign_for", to_string(jv))[jss::result];
BEAST_EXPECT(jrr[jss::status] == "error");
BEAST_EXPECT(
jrr[jss::error_message].asString().find(
"A Signer may not be the transaction's Account") != std::string::npos);
jrr[jss::error_message].asString().contains(
"A Signer may not be the transaction's Account"));
}
}