catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fix test helper not properly returning sentinel type from end()
- Commit
123f1ff9fc3784e0d27f6cb59eee8363c03ccab1- Author
- Martin Hořeňovský ·
- Committer
- Leitwolf11
- Parents
b6573c3361bf
Changes
tests/SelfTest/IntrospectiveTests/ToString.tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp b/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp index 173c7597..081a7b94 100644 --- a/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp @@ -19,7 +19,7 @@ struct UsesSentinel { using const_sentinel = std::nullptr_t; const_iterator begin() const { return nullptr; } - const_iterator end() const { return nullptr; } + const_sentinel end() const { return nullptr; } }; TEST_CASE("Range type with sentinel") {