Skip to content

Commit

Permalink
tests/unit-iterators2: use std::ranges::equals for range comparisons (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
ArsenArsen authored Mar 5, 2023
1 parent b230614 commit 660d0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/unit-iterators2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ TEST_CASE("iterators 2")
json j_expected{5, 4, 3, 2, 1};

auto reversed = j | std::views::reverse;
CHECK(reversed == j_expected);
CHECK(std::ranges::equal(reversed, j_expected));
}

SECTION("transform")
Expand Down

0 comments on commit 660d0b5

Please sign in to comment.