浏览代码

Fix TextFormatMapTest.DynamicMessage issue#5136

Clean up a multi-line string to conform to Unix line endings.

Signed-off-by: Abhishek Jain <abhishek.jain3@huawei.com>
Abhishek Jain 4 年之前
父节点
当前提交
9505222a24
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/google/protobuf/map_test.cc

+ 1 - 0
src/google/protobuf/map_test.cc

@@ -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);
 }