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
|
@ -129,3 +129,11 @@ VOID TEST(SampleTest, FastSampleMacrosTest)
|
|||
EXPECT_NEAR(10, 15, 5);
|
||||
}
|
||||
|
||||
VOID TEST(SampleTest, StringEQTest)
|
||||
{
|
||||
string str = "100";
|
||||
EXPECT_TRUE("100" == str);
|
||||
EXPECT_EQ("100", str);
|
||||
EXPECT_STREQ("100", str.c_str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue