diff --git a/test/beast/zlib/inflate_stream.cpp b/test/beast/zlib/inflate_stream.cpp index 2e37decf..09503bda 100644 --- a/test/beast/zlib/inflate_stream.cpp +++ b/test/beast/zlib/inflate_stream.cpp @@ -413,6 +413,16 @@ public: error::invalid_distance); } + void testInvalidSettings() + { + except( + []() + { + inflate_stream is; + is.reset(7); + }); + } + void run() override { @@ -421,6 +431,7 @@ public: sizeof(inflate_stream) << std::endl; testInflate(); testInflateErrors(); + testInvalidSettings(); } };