From 2dfea6bee33c1f7f987ff251f1d60dd74fcb0040 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 21 Jul 2018 00:13:37 +0300 Subject: [PATCH] Fixed tests under windows --- tests/test_async.cpp | 2 +- tests/tests.sln | 2 +- tests/tests.vcxproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_async.cpp b/tests/test_async.cpp index 467b37a6..5ef66374 100644 --- a/tests/test_async.cpp +++ b/tests/test_async.cpp @@ -133,7 +133,7 @@ TEST_CASE("to_file", "[async]") REQUIRE(count_lines(filename) == messages); auto contents = file_contents(filename); - REQUIRE(ends_with(contents, std::string("Hello message #1023") + SPDLOG_EOL)); + REQUIRE(ends_with(contents, std::string("Hello message #1023\n"))); } TEST_CASE("to_file multi-workers", "[async]") diff --git a/tests/tests.sln b/tests/tests.sln index 00d98a9f..319bf954 100644 --- a/tests/tests.sln +++ b/tests/tests.sln @@ -25,7 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "details", "details", "{C8A2 ..\include\spdlog\details\mpmc_bounded_q.h = ..\include\spdlog\details\mpmc_bounded_q.h ..\include\spdlog\details\null_mutex.h = ..\include\spdlog\details\null_mutex.h ..\include\spdlog\details\os.h = ..\include\spdlog\details\os.h - ..\include\spdlog\details\pattern_formatter_impl.h = ..\include\spdlog\details\pattern_formatter_impl.h + ..\include\spdlog\details\pattern_formatter.h = ..\include\spdlog\details\pattern_formatter.h ..\include\spdlog\details\registry.h = ..\include\spdlog\details\registry.h ..\include\spdlog\details\spdlog_impl.h = ..\include\spdlog\details\spdlog_impl.h ..\include\spdlog\details\thread_pool.h = ..\include\spdlog\details\thread_pool.h diff --git a/tests/tests.vcxproj b/tests/tests.vcxproj index 4565f197..02e0365b 100644 --- a/tests/tests.vcxproj +++ b/tests/tests.vcxproj @@ -94,7 +94,7 @@ - Level4 + Level3 MaxSpeed true true