Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CPP]. Open and close TsFile without writing data will meet error code 2. #206

Open
ColinLeeo opened this issue Aug 12, 2024 · 0 comments
Open

Comments

@ColinLeeo
Copy link
Contributor

Test code as below:

        CTsFileWriter writer = ts_writer_open(TSFILE_NAME, &code);
        ASSERT_EQ(code, 0);
        ASSERT_NE(writer, nullptr);
        code = ts_writer_close(writer);
        ASSERT_EQ(access(TSFILE_NAME, F_OK), 0);
        ASSERT_EQ(code, E_OK); // assert failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant