Abort instead of calling std::bad_alloc
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user