diff options
author | David Roman <davidroman96@gmail.com> | 2023-08-12 19:10:02 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-04 13:29:49 +0100 |
commit | 8aa7e6a5f417cbbead816aef2de1213cce27947c (patch) | |
tree | 3afb8468fb45f463cb13ca87d3ac664d6eaa3c3f /dev-libs/spdlog/files | |
parent | app-admin/rex: drop old (diff) | |
download | gentoo-8aa7e6a5f417cbbead816aef2de1213cce27947c.tar.gz gentoo-8aa7e6a5f417cbbead816aef2de1213cce27947c.tar.bz2 gentoo-8aa7e6a5f417cbbead816aef2de1213cce27947c.zip |
dev-libs/spdlog: fix tests
Closes: https://bugs.gentoo.org/911322
Signed-off-by: David Roman <davidroman96@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32274
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/spdlog/files')
-rw-r--r-- | dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch b/dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch new file mode 100644 index 000000000000..8ad33f4fc8d0 --- /dev/null +++ b/dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch @@ -0,0 +1,13 @@ +diff --git a/tests/test_misc.cpp b/tests/test_misc.cpp +index 9f3cb1744..6199641ff 100644 +--- a/tests/test_misc.cpp ++++ b/tests/test_misc.cpp +@@ -43,7 +43,7 @@ TEST_CASE("log_levels", "[log_levels]") + REQUIRE(log_info("Hello", spdlog::level::trace) == "Hello"); + } + +-TEST_CASE("level_to_string_view", "[convert_to_string_view") ++TEST_CASE("level_to_string_view", "[convert_to_string_view]") + { + REQUIRE(spdlog::level::to_string_view(spdlog::level::trace) == "trace"); + REQUIRE(spdlog::level::to_string_view(spdlog::level::debug) == "debug"); |