Commit ffd25cf7 authored by Stephane Sezer's avatar Stephane Sezer Committed by Jordan DeLong

Remove problematic log lines from folly JSON test.

Summary: We are logging UTF-8 data in this test. This makes the test infra fail (when using `fbmake runtests` for example).

Test Plan: Run existing JSON tests.

Reviewed By: shreehari@fb.com

FB internal diff: D975249
parent 8071c1e0
......@@ -254,11 +254,6 @@ TEST(Json, UTF8Retention) {
folly::fbstring output = folly::parseJson(jsonInput).asString();
folly::fbstring jsonOutput = folly::toJson(output);
LOG(INFO) << "input: " << input
<<" => json: " << jsonInput;
LOG(INFO) << "output: " << output
<<" => json: " << jsonOutput;
EXPECT_EQ(input, output);
EXPECT_EQ(jsonInput, jsonOutput);
......@@ -281,11 +276,6 @@ TEST(Json, UTF8EncodeNonAsciiRetention) {
folly::fbstring output = folly::parseJson(jsonInput).asString();
folly::fbstring jsonOutput = folly::json::serialize(output, opts);
LOG(INFO) << "input: " << input
<<" => json: " << jsonInput;
LOG(INFO) << "output: " << output
<<" => json: " << jsonOutput;
EXPECT_EQ(input, output);
EXPECT_EQ(jsonInput, jsonOutput);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment