LibSQL: Rename expression tree depth limit test case

Meant to rename this before committing the test - 'stack_limit' isn't a
great name when there's multiple test cases for various stack overflows.
This commit is contained in:
Timothy Flynn 2021-06-08 09:15:02 -04:00 committed by Andreas Kling
parent 3b04420490
commit 4e974e6d60
Notes: sideshowbarker 2024-07-18 12:37:14 +09:00

View file

@ -603,7 +603,7 @@ TEST_CASE(in_selection_expression)
validate("15 NOT IN (SELECT * FROM table)", true);
}
TEST_CASE(stack_limit)
TEST_CASE(expression_tree_depth_limit)
{
auto too_deep_expression = String::formatted("{:+^{}}1", "", SQL::Limits::maximum_expression_tree_depth);
EXPECT(!parse(too_deep_expression.substring_view(1)).is_error());