diff --git a/types/tests/any_buffer.c++ b/types/tests/any_buffer.c++ index ade3ec01..56a9ff09 100644 --- a/types/tests/any_buffer.c++ +++ b/types/tests/any_buffer.c++ @@ -1,14 +1,19 @@ #include #include -#include #include #include +#include + +#include + TestFile( "aw::any_buffer" ); +constexpr auto buf_size = std::max({ 32uz, sizeof(std::string) }); + Test(any_buffer_basic) { using namespace std::string_literals; - aw::any_buffer<32> buf; + aw::any_buffer buf; buf.emplace("Test string!"s); TestEqual(buf.get(), "Test string!"s); }