mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
style: Mark JSON literal strings with R"JSON (#2169)
This commit is contained in:
@@ -44,7 +44,7 @@ struct AnyHistogramTests : ::testing::Test {
|
||||
|
||||
::testing::StrictMock<MockHistogramImpl> mockHistogramImpl;
|
||||
std::string const name = "test_histogram";
|
||||
std::string labelsString = R"({label1="value1",label2="value2"})";
|
||||
std::string labelsString = R"JSON({label1="value1",label2="value2"})JSON";
|
||||
HistogramInt histogram{name, labelsString, {1, 2, 3}, static_cast<MockHistogramImpl&>(mockHistogramImpl)};
|
||||
};
|
||||
|
||||
@@ -72,7 +72,7 @@ TEST_F(AnyHistogramTests, serializeValue)
|
||||
}
|
||||
|
||||
struct HistogramTests : ::testing::Test {
|
||||
std::string labelsString = R"({label1="value1",label2="value2"})";
|
||||
std::string labelsString = R"JSON({label1="value1",label2="value2"})JSON";
|
||||
HistogramInt histogram{"t", labelsString, {1, 2, 3}};
|
||||
|
||||
std::string
|
||||
|
||||
Reference in New Issue
Block a user