mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix context string ID bug
This commit is contained in:
parent
83ce78a015
commit
7627c290c9
4 changed files with 32 additions and 24 deletions
|
@ -4106,9 +4106,9 @@ VOID TEST(KernelLogTest, CoverAll)
|
|||
l.error("TAG", "0", "log");
|
||||
|
||||
ISrsThreadContext ctx;
|
||||
ctx.set_id(10);
|
||||
EXPECT_EQ("0", ctx.get_id());
|
||||
EXPECT_EQ("0", ctx.generate_id());
|
||||
ctx.set_id("10");
|
||||
EXPECT_EQ("", ctx.get_id());
|
||||
EXPECT_EQ("", ctx.generate_id());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue