From 0f87ba6c93bfb41239a5e47d8b7d5a0233e72750 Mon Sep 17 00:00:00 2001 From: ngugcx Date: Sun, 15 Mar 2020 20:21:58 +0800 Subject: [PATCH] fix a test case error. --- tests/test_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_misc.cpp b/tests/test_misc.cpp index 3e9f5eef..75475a22 100644 --- a/tests/test_misc.cpp +++ b/tests/test_misc.cpp @@ -202,7 +202,7 @@ TEST_CASE("to_hex_different_size_per_line", "[to_hex]") std::vector v{9, 0xa, 0xb, 0x41, 0xc, 0x4b, 0xff, 0xff}; oss_logger.info("{:Xsa}", spdlog::to_hex(v, 10)); - REQUIRE(ends_with(oss.str(), "0000: 090A0B410C4BFFFF ...A.K.." + std::string(spdlog::details::os::default_eol))); + REQUIRE(ends_with(oss.str(), "0000: 090A0B410C4BFFFF ...A.K.." + std::string(spdlog::details::os::default_eol))); oss_logger.info("{:Xs}", spdlog::to_hex(v, 10)); REQUIRE(ends_with(oss.str(), "0000: 090A0B410C4BFFFF" + std::string(spdlog::details::os::default_eol)));