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:
parent
041b95472a
commit
8075628d9e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue