json/tests
Arsen Arsenović a49829bd98
tests/unit-iterators2: use std::ranges::equals for range comparisons
This fixes a build error on GCC 13:

  /home/arsen/nlohmann_json/tests/src/unit-iterators2.cpp: In function ‘void _DOCTEST_ANON_FUNC_2()’:
  /home/arsen/nlohmann_json/tests/src/unit-iterators2.cpp:946:32: error: no match for ‘operator==’ (operand types are ‘doctest::detail::Expression_lhs<std::ranges::reverse_view<std::ranges::ref_view<nlohmann::json_abi_v3_11_2::basic_json<> > >&>’ and ‘nlohmann::json_abi_v3_11_2::json’ {aka ‘nlohmann::json_abi_v3_11_2::basic_json<>’})
    946 |                 CHECK(reversed == j_expected);
        |                                ^~ ~~~~~~~~~~
        |                                   |
        |                                   nlohmann::json_abi_v3_11_2::json {aka nlohmann::json_abi_v3_11_2::basic_json<>}

Bug: https://bugs.gentoo.org/895692
Closes: #3927
2023-02-21 13:05:57 +01:00
..
abi Add clang-tools to required tools for ci_static_analysis_clang (#3724) 2022-09-13 12:58:26 +02:00
benchmarks 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
cmake_add_subdirectory 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
cmake_fetch_content 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
cmake_fetch_content2 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
cmake_import 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
cmake_import_minver 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
cmake_target_include_directories 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
cuda_example 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
reports Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
src tests/unit-iterators2: use std::ranges::equals for range comparisons 2023-02-21 13:05:57 +01:00
thirdparty Add clang-tools to required tools for ci_static_analysis_clang (#3724) 2022-09-13 12:58:26 +02:00
CMakeLists.txt Fix CI issues (#3906) 2023-01-31 19:23:37 +01:00
fuzzing.md Document fuzzer usage (#3478) 2022-05-09 08:02:41 +02:00
Makefile Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00