1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

Fix utest fail.

This commit is contained in:
winlin 2019-12-29 19:16:16 +08:00
parent 041b95472a
commit 8075628d9e

View file

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