Add to corpus

This commit is contained in:
2025-05-19 16:19:21 -04:00
parent be8187b2fd
commit 2b604a4f89
33 changed files with 301 additions and 4 deletions

View File

@@ -38,10 +38,6 @@ std::pair<std::string, parser3::Status> runBatch(std::string copy) {
void testStreaming(std::string const &json) {
auto streaming = runStreaming(json);
auto batch = runBatch(json);
if (streaming.second == parser3::S_OK) {
printf("streaming: %s\n", streaming.first.c_str());
printf("batch: %s\n", batch.first.c_str());
}
if (streaming != batch) {
if (streaming.second == batch.second && streaming.second != parser3::S_OK) {
// It's ok if the processed data doesn't match if parsing failed