Fix utest fail.

pull/1568/head
winlin 5 years ago
parent 041b95472a
commit 8075628d9e

@ -1612,7 +1612,7 @@ VOID TEST(ProtocolHTTPTest, HTTPMessageUpdate)
SrsHttpMessage m;
HELPER_ASSERT_SUCCESS(m.set_url("/api/v1?vhost=ossrs.net", false));
m.set_header(&h, false);
EXPECT_STRNE("ossrs.net", m.host().c_str());
EXPECT_STREQ("ossrs.net", m.host().c_str());
}
if (true) {

Loading…
Cancel
Save