Skip to content

Commit

Permalink
Ignore test on old compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed May 25, 2019
1 parent 2ddcce5 commit 194fd5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/MixedConfiguration/cpp11.cpp
Expand Up @@ -2,6 +2,8 @@

#include <catch.hpp>

#if __cplusplus >= 201103L

TEST_CASE("nullptr") {
DynamicJsonDocument doc(4096);
JsonVariant variant = doc.to<JsonVariant>();
Expand All @@ -25,3 +27,5 @@ TEST_CASE("nullptr") {
REQUIRE(variant.isNull());
}
}

#endif

0 comments on commit 194fd5d

Please sign in to comment.