mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
Fix buffers_cat
iterator tests
The default constructed iterators tests were never run. Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
@ -8,6 +8,7 @@ Version 256:
|
||||
* Make chat websocket javascript client more user friendly
|
||||
* `allocator_traits::construct` is used for user-defined types
|
||||
* Add 1-element specialization for `buffers_cat`
|
||||
* Fix `buffers_cat` iterator tests
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -38,8 +38,6 @@ public:
|
||||
net::const_buffer(&c[0], 1),
|
||||
net::const_buffer(&c[1], 1));
|
||||
decltype(bs)::const_iterator it;
|
||||
BEAST_EXPECT(bs.end() == it);
|
||||
BEAST_EXPECT(it == bs.end());
|
||||
decltype(bs)::const_iterator it2;
|
||||
BEAST_EXPECT(it == it2);
|
||||
BEAST_EXPECT(it2 == it);
|
||||
@ -319,6 +317,7 @@ public:
|
||||
|
||||
void run() override
|
||||
{
|
||||
testDefaultIterators();
|
||||
testBufferSequence();
|
||||
testExceptions();
|
||||
testEmpty();
|
||||
|
Reference in New Issue
Block a user