mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-27 11:48:59 +00:00
LibTest: Fix minor const-correctness issue in TestSuite::find_cases()
This commit is contained in:
parent
08a90455ac
commit
485958bb6f
Notes:
sideshowbarker
2024-07-17 05:18:58 +09:00
Author: https://github.com/awesomekling
Commit: 485958bb6f
Pull-request: https://github.com/SerenityOS/serenity/pull/17557
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ int TestSuite::main(DeprecatedString const& suite_name, int argc, char** argv)
|
||||||
NonnullRefPtrVector<TestCase> TestSuite::find_cases(DeprecatedString const& search, bool find_tests, bool find_benchmarks)
|
NonnullRefPtrVector<TestCase> TestSuite::find_cases(DeprecatedString const& search, bool find_tests, bool find_benchmarks)
|
||||||
{
|
{
|
||||||
NonnullRefPtrVector<TestCase> matches;
|
NonnullRefPtrVector<TestCase> matches;
|
||||||
for (auto const& t : m_cases) {
|
for (auto& t : m_cases) {
|
||||||
if (!search.is_empty() && !t.name().matches(search, CaseSensitivity::CaseInsensitive)) {
|
if (!search.is_empty() && !t.name().matches(search, CaseSensitivity::CaseInsensitive)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue