Skip to content

Commit

Permalink
Add missing calls to test_result() (#1799)
Browse files Browse the repository at this point in the history
  • Loading branch information
serpent7776 authored Nov 2, 2023
1 parent 9aa41d6 commit 97452bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/view/enumerate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,6 @@ int main()
CPP_assert(same_as<range_difference_t<X>, detail::diffmax_t>);
CPP_assert(same_as<range_value_t<X>, std::pair<detail::diffmax_t, char const*>>);
}

return ::test_result();
}
2 changes: 2 additions & 0 deletions test/view/span.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1096,4 +1096,6 @@ int main() {
CPP_assert(ranges::contiguous_range<span<int>>);
CPP_assert(ranges::view_<span<int, 42>>);
CPP_assert(ranges::contiguous_range<span<int, 42>>);

return ::test_result();
}
2 changes: 2 additions & 0 deletions test/view/take_last.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ int main()

auto rng1 = rgi | views::take_last(7);
::check_equal(rng1, {0, 1, 2, 3, 4, 5});

return ::test_result();
}

0 comments on commit 97452bb

Please sign in to comment.