More flat_streambuf tests

This commit is contained in:
Vinnie Falco
2017-05-07 13:39:40 -07:00
parent aacefb4c84
commit 0b4d87ccf9
4 changed files with 154 additions and 16 deletions
+2 -2
View File
@@ -109,14 +109,14 @@ public:
// VFALCO This needs work
{
using alloc_type =
test_allocator<char, false, false, false, false>;
test_allocator<char, false, false, false, false, false>;
using sb_type = basic_streambuf<alloc_type>;
sb_type sb;
BEAST_EXPECT(sb.get_allocator().id() == 1);
}
{
using alloc_type =
test_allocator<char, false, false, false, false>;
test_allocator<char, false, false, false, false, false>;
using sb_type = basic_streambuf<alloc_type>;
sb_type sb;
BEAST_EXPECT(sb.get_allocator().id() == 2);