This is an automated email from the ASF dual-hosted git repository.
cfnatali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new c896028 Fixed stout cpplint errors.
c896028 is described below
commit c8960288d2af25ccfc85550108c74875c363aef6
Author: Charles-Francois Natali <[email protected]>
AuthorDate: Mon Aug 9 19:34:29 2021 +0100
Fixed stout cpplint errors.
---
3rdparty/stout/tests/protobuf_tests.cpp | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/3rdparty/stout/tests/protobuf_tests.cpp
b/3rdparty/stout/tests/protobuf_tests.cpp
index 46249ea..775555a 100644
--- a/3rdparty/stout/tests/protobuf_tests.cpp
+++ b/3rdparty/stout/tests/protobuf_tests.cpp
@@ -899,10 +899,14 @@ TEST(ProtobufTest, JsonInfinity)
expected.end());
JSON::Object referenceObject;
- referenceObject.values["d1"] =
JSON::Number(std::numeric_limits<double>::infinity());
- referenceObject.values["d2"] =
JSON::Number(-std::numeric_limits<double>::infinity());
- referenceObject.values["f1"] =
JSON::Number(std::numeric_limits<double>::infinity());
- referenceObject.values["f2"] =
JSON::Number(-std::numeric_limits<double>::infinity());
+ referenceObject.values["d1"] =
+ JSON::Number(std::numeric_limits<double>::infinity());
+ referenceObject.values["d2"] =
+ JSON::Number(-std::numeric_limits<double>::infinity());
+ referenceObject.values["f1"] =
+ JSON::Number(std::numeric_limits<double>::infinity());
+ referenceObject.values["f2"] =
+ JSON::Number(-std::numeric_limits<double>::infinity());
// Check Protobuf -> JSON.
JSON::Object protobufObject = JSON::protobuf(message);