Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
m-fila committed May 25, 2024
1 parent e25de51 commit a7248b0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/unittests/std_interoperability.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ TEST_CASE("Collection iterators", "[collection][container][iterator][std]") {
// STATIC_REQUIRE(std::is_same_v<decltype((void)++std::declval<const_iterator&>()),
// decltype((void)std::declval<const_iterator&>()++)>);

//*r++
// *r++
// iterator
STATIC_REQUIRE(traits::has_indirection_v<iterator>);
DOCUMENTED_STATIC_FAILURE(traits::has_postincrement_v<iterator>);
Expand All @@ -585,7 +585,7 @@ TEST_CASE("Collection iterators", "[collection][container][iterator][std]") {
// STATIC_REQUIRE(std::is_base_of_v<std::input_iterator_tag, std::iterator_traits<iterator>::iterator_category>);
// const_iterator
DOCUMENTED_STATIC_FAILURE(traits::has_iterator_category_v<std::iterator_traits<const_iterator>>);
// STATIC_REQUIRE(std::is_base_of_v<std::std::input_iterator_tag,
// STATIC_REQUIRE(std::is_base_of_v<std::input_iterator_tag,
// std::iterator_traits<const_iterator>::iterator_category>);

} // end of LegacyInputIterator
Expand Down Expand Up @@ -692,7 +692,8 @@ TEST_CASE("Collection iterators", "[collection][container][iterator][std]") {
DOCUMENTED_STATIC_FAILURE(traits::has_postincrement_v<iterator>);
DOCUMENTED_STATIC_FAILURE(traits::has_reference_v<std::iterator_traits<iterator>>);
// STATIC_REQUIRE(std::is_same_v<decltype(*std::declval<iterator&>()++),
// std::iterator_traits<iterator>::reference>); const_iterator
// std::iterator_traits<iterator>::reference>);
// const_iterator
STATIC_REQUIRE(traits::has_indirection_v<const_iterator>);
DOCUMENTED_STATIC_FAILURE(traits::has_postincrement_v<const_iterator>);
DOCUMENTED_STATIC_FAILURE(traits::has_reference_v<std::iterator_traits<const_iterator>>);
Expand Down Expand Up @@ -758,7 +759,7 @@ TEST_CASE("Collection iterators", "[collection][container][iterator][std]") {
// iterator
DOCUMENTED_STATIC_FAILURE(traits::has_postincrement_v<iterator>);
// STATIC_REQUIRE(std::is_convertible_v<decltype(std::declval<iterator&>()++), const iterator&>);
// const_iterator
// const_iterator
DOCUMENTED_STATIC_FAILURE(traits::has_postincrement_v<const_iterator>);
// STATIC_REQUIRE(std::is_convertible_v<decltype(std::declval<const_iterator&>()++), const const_iterator&>);

Expand Down

0 comments on commit a7248b0

Please sign in to comment.