[go: up one dir, main page]

Skip to content

Commit

Permalink
Only test reflections if they exist
Browse files Browse the repository at this point in the history
  • Loading branch information
kongr45gpen committed Jul 4, 2023
1 parent 4615a6d commit 818915d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/source/reflection_test.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#if __cpp_reflection >= 201902L

#include <catch2/catch_test_macros.hpp>
#include <catch2/matchers/catch_matchers_string.hpp>
#include "ok-serializer/ok-serializer.hpp"
Expand Down Expand Up @@ -54,3 +56,5 @@ TEST_CASE("configuration") {
CHECK(result[2] == -36);
}
}

#endif

0 comments on commit 818915d

Please sign in to comment.