Abort instead of calling std::bad_alloc

This commit is contained in:
2025-08-18 11:04:45 -04:00
parent b5cb4d2a81
commit f4cbfc0c4f
2 changed files with 35 additions and 12 deletions

View File

@@ -2,7 +2,6 @@
#include "../benchmarks/test_data.hpp"
#include "parser_comparison.hpp"
#include <doctest/doctest.h>
#include <vector>
/**
* @brief Test helper that uses parser comparison to validate both parsers.
@@ -479,4 +478,4 @@ TEST_CASE("Parser Comparison - Stress Tests") {
std::string stress_json = weaseldb::test_data::generate_large_json(50);
test_parser_comparison(stress_json, "Deep nesting with many operations");
}
}
}