mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
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:
parent
3b04420490
commit
4e974e6d60
Notes:
sideshowbarker
2024-07-18 12:37:14 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/4e974e6d602 Pull-request: https://github.com/SerenityOS/serenity/pull/7917
1 changed files with 1 additions and 1 deletions
|
@ -603,7 +603,7 @@ TEST_CASE(in_selection_expression)
|
||||||
validate("15 NOT IN (SELECT * FROM table)", true);
|
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);
|
auto too_deep_expression = String::formatted("{:+^{}}1", "", SQL::Limits::maximum_expression_tree_depth);
|
||||||
EXPECT(!parse(too_deep_expression.substring_view(1)).is_error());
|
EXPECT(!parse(too_deep_expression.substring_view(1)).is_error());
|
||||||
|
|
Loading…
Reference in a new issue