mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
test: restore compatibility with older Catch2 releases
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
|
||||
#if __has_include(<catch2/catch_test_macros.hpp>)
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
#include <catch2/matchers/catch_matchers_all.hpp>
|
||||
#else
|
||||
#include <catch2/catch.hpp>
|
||||
#endif
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#if __has_include(<catch2/catch_test_macros.hpp>)
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
#include <catch2/matchers/catch_matchers_all.hpp>
|
||||
#include <catch2/matchers/catch_matchers_string.hpp>
|
||||
#else
|
||||
#include <catch2/catch.hpp>
|
||||
#endif
|
||||
|
@ -3,8 +3,9 @@
|
||||
#include <spdlog/sinks/stdout_sinks.h>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
#if __has_include(<catch2/catch_all.hpp>)
|
||||
#include <catch2/catch_all.hpp>
|
||||
#if __has_include(<catch2/catch_session.hpp>)
|
||||
#include <catch2/catch_session.hpp>
|
||||
#include <catch2/catch_version_macros.hpp>
|
||||
#include <catch2/reporters/catch_reporter_tap.hpp>
|
||||
#else
|
||||
#include <catch2/catch.hpp>
|
||||
|
Reference in New Issue
Block a user