Skip to content

Commit

Permalink
Fix TextFormatMapTest.DynamicMessage issue#5136
Browse files Browse the repository at this point in the history
Clean up a multi-line string to conform to Unix line endings.

Signed-off-by: Abhishek Jain <abhishek.jain3@huawei.com>
  • Loading branch information
akjain2052 authored and Abhishek Jain committed Dec 24, 2020
1 parent 635156e commit 1fb6553
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/google/protobuf/map_test.cc
Expand Up @@ -3528,6 +3528,7 @@ TEST(TextFormatMapTest, DynamicMessage) {
"testdata/map_test_data.txt"),
&expected_text, true));

CleanStringLineEndings(&expected_text, false);
EXPECT_EQ(message->DebugString(), expected_text);
}

Expand Down

0 comments on commit 1fb6553

Please sign in to comment.