Rename to BEAST_EXPECT

This commit is contained in:
Vinnie Falco
2017-07-25 15:58:06 -07:00
parent 175763e773
commit c831afd93b
54 changed files with 2014 additions and 1657 deletions
+4 -4
View File
@@ -61,7 +61,7 @@ public:
{
mg.request(v[i]);
size_ += v[i].size();
BOOST_BEAST_EXPECT(v[i].size() > 0);
BEAST_EXPECT(v[i].size() > 0);
}
return v;
}
@@ -76,7 +76,7 @@ public:
{
mg.response(v[i]);
size_ += v[i].size();
BOOST_BEAST_EXPECT(v[i].size() > 0);
BEAST_EXPECT(v[i].size() > 0);
}
return v;
}
@@ -121,7 +121,7 @@ public:
Parser p;
error_code ec;
p.write(b.data(), ec);
if(! BOOST_BEAST_EXPECTS(! ec, ec.message()))
if(! BEAST_EXPECTS(! ec, ec.message()))
log << to_string(b.data()) << std::endl;
}
}
@@ -137,7 +137,7 @@ public:
p.header_limit((std::numeric_limits<std::uint32_t>::max)());
error_code ec;
feed(b.data(), p, ec);
if(! BOOST_BEAST_EXPECTS(! ec, ec.message()))
if(! BEAST_EXPECTS(! ec, ec.message()))
log << to_string(b.data()) << std::endl;
}
}