mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
style: clang-tidy auto fixes (#2645)
This commit is contained in:
committed by
GitHub
parent
d2de240389
commit
2f3e9498dc
@@ -26,6 +26,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
@@ -199,14 +200,14 @@ struct StatusStreamTestBundle {
|
||||
|
||||
struct RPCErrorsStatusStreamTest : public ::testing::TestWithParam<StatusStreamTestBundle> {
|
||||
protected:
|
||||
std::ostringstream oss;
|
||||
std::ostringstream oss_;
|
||||
};
|
||||
|
||||
TEST_P(RPCErrorsStatusStreamTest, StatusStreamOperator)
|
||||
{
|
||||
auto const param = GetParam();
|
||||
oss << param.status;
|
||||
EXPECT_EQ(oss.str(), param.expectedOutput);
|
||||
oss_ << param.status;
|
||||
EXPECT_EQ(oss_.str(), param.expectedOutput);
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
|
||||
Reference in New Issue
Block a user