mirror of
https://github.com/Alexays/Waybar.git
synced 2026-03-29 19:03:56 +00:00
test: fix build with Catch2 v2.x
Use smaller includes for Catch2 v3.
This commit is contained in:
@ -2,7 +2,11 @@
|
||||
|
||||
#include <glibmm.h>
|
||||
|
||||
#include <catch2/catch_all.hpp>
|
||||
#if __has_include(<catch2/catch_test_macros.hpp>)
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
#else
|
||||
#include <catch2/catch.hpp>
|
||||
#endif
|
||||
#include <thread>
|
||||
#include <type_traits>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user