浏览代码

Fix Logger class test

Patrick-Christopher Mattulat 1 年之前
父节点
当前提交
4477205100
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/cases/io/logging/LoggerTest.cpp

+ 1 - 1
test/cases/io/logging/LoggerTest.cpp

@@ -230,7 +230,7 @@ namespace
     dynamic_pointer_cast<FileOutputStream>(writer)->close();
     string content = getContentFromLogFile(logName);
 
-    ASSERT_STREQ(string(message + NewLine::getUnixNewLine()).c_str(), content.c_str());
+    ASSERT_STREQ(string(message + NewLine::get()).c_str(), content.c_str());
   }
 
   TEST_F(LoggerTest, info)