diff options
| author | Leitwolf11 | 2026-11-16 12:36:27 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-16 12:36:27 +0300 |
| commit | 0cc73f2c53f40a172dd5bbfee0c96d25599d9dba (patch) | |
| tree | dbc5259b0540b11ae9ee996fc14c13857580c913 /tests | |
| parent | a6c83f1bfaf42c9ea16639c749dd587243e86e9c (diff) | |
| download | catch3-0cc73f2c53f40a172dd5bbfee0c96d25599d9dba.tar.gz | |
Measure the table strings with std::string and regenerate the amalgamation
The self tests are also built as C++14 (Meson with Clang-CL), where
std::string_view does not exist. The amalgamated source carries the
change to Process.cpp.
Claude-Session: https://claude.ai/code/session_01Ji7xZMYjc4zankoc7hGBE1
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/SelfTest/UsageTests/Generators.tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SelfTest/UsageTests/Generators.tests.cpp b/tests/SelfTest/UsageTests/Generators.tests.cpp index 77ffde8d..41138b5a 100644 --- a/tests/SelfTest/UsageTests/Generators.tests.cpp +++ b/tests/SelfTest/UsageTests/Generators.tests.cpp @@ -12,7 +12,7 @@ #include <Progmasoft/Catch3/Generators/Random.hpp> #include <Progmasoft/Catch3/Generators/Range.hpp> -#include <string_view> +#include <string> // Generators and sections can be nested freely @@ -62,7 +62,7 @@ TEST_CASE("tables", "[generators]") { tuple_type{"etc...", 6} })); - REQUIRE(std::string_view(std::get<0>(data)).size() == static_cast<size_t>(std::get<1>(data))); + REQUIRE(std::string(std::get<0>(data)).size() == static_cast<size_t>(std::get<1>(data))); } |