Re-enable the array and binary custom-container tests

unit-custom-array-type.cpp and unit-custom-binary-type.cpp were still
guarded behind JSON_BISECT_CUSTOM_CONTAINER_TESTS from bisecting the
AppVeyor failure fixed in 7c39f3227, which was unrelated to either
file. The macro was never defined, so none of these tests actually ran
in CI. Verified locally with clang++ and g++ under C++17 and C++20
before removing the guards.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann
2026-09-02 09:18:26 +02:00
parent 7c39f3227e
commit eea976435b
2 changed files with 0 additions and 16 deletions
-8
View File
@@ -17,12 +17,6 @@
#include <type_traits> #include <type_traits>
#include <vector> #include <vector>
// TEMPORARY: this translation unit is disabled to narrow down an AppVeyor
// failure on MSVC 2015/2017 whose build log this environment cannot reach.
// The macro is deliberately never defined; the guard is removed again as soon
// as the cause is known.
#ifdef JSON_BISECT_CUSTOM_CONTAINER_TESTS
namespace namespace
{ {
@@ -154,5 +148,3 @@ TEST_CASE("array type without at()")
CHECK(j.at(no_at_json::json_pointer("/1")) == 2); CHECK(j.at(no_at_json::json_pointer("/1")) == 2);
CHECK_THROWS_AS(j.at(no_at_json::json_pointer("/3")), no_at_json::out_of_range); CHECK_THROWS_AS(j.at(no_at_json::json_pointer("/3")), no_at_json::out_of_range);
} }
#endif
-8
View File
@@ -21,12 +21,6 @@
#include <cstddef> #include <cstddef>
#endif #endif
// TEMPORARY: this translation unit is disabled to narrow down an AppVeyor
// failure on MSVC 2015/2017 whose build log this environment cannot reach.
// The macro is deliberately never defined; the guard is removed again as soon
// as the cause is known.
#ifdef JSON_BISECT_CUSTOM_CONTAINER_TESTS
namespace namespace
{ {
@@ -83,5 +77,3 @@ TEST_CASE("binary type whose value type is not std::uint8_t")
} }
#endif #endif
} }
#endif