mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-04 17:26:49 +00:00
chore: Enable more clang-tidy checks (#3054)
This commit is contained in:
@@ -140,6 +140,7 @@ TEST_P(NgErrorHandlingMakeInternalErrorTest, ComposeError)
|
||||
{
|
||||
auto const request = makeRequest(GetParam().isHttp, GetParam().request);
|
||||
std::optional<boost::json::object> const requestJson = GetParam().request.has_value()
|
||||
// NOLINTNEXTLINE(bugprone-unchecked-optional-access)
|
||||
? std::make_optional(boost::json::parse(*GetParam().request).as_object())
|
||||
: std::nullopt;
|
||||
ErrorHelper const errorHelper{request, requestJson};
|
||||
|
||||
Reference in New Issue
Block a user