fix(test): fix syntax error in the unit tests.

This commit is contained in:
Haojun Liao 2024-09-19 09:43:35 +08:00
parent 47a2a8528c
commit 839590348f
1 changed files with 2 additions and 2 deletions

View File

@ -479,12 +479,12 @@ TEST_F(BackendEnv, oldBackendInit) {
{
SBackendWrapper *p = NULL;
int32_t code = (SBackendWrapper *)streamBackendInit(path, 10, 10, &p);
int32_t code = streamBackendInit(path, 10, 10, &p);
streamBackendCleanup((void *)p);
}
{
SBackendWrapper *p = NULL;
int32_t code = (SBackendWrapper *)streamBackendInit(path, 10, 10, &p);
int32_t code = streamBackendInit(path, 10, 10, &p);
streamBackendCleanup((void *)p);
}