Improved library search

This commit is contained in:
CasVT
2025-07-01 13:34:08 +02:00
parent 98ee414dc5
commit 48105ef88b
2 changed files with 6 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ class Test_Reminder_Handler(unittest.TestCase):
color=None,
notification_services=[]
)
for test_case in ('', 'title', 'ex'):
for test_case in ('', 'TITLE', 'ex', 'ti tle'):
self.assertTrue(search_filter(test_case, p))
for test_case in (' ', 'Hello'):
for test_case in ('TEXTTITLE', 'Hello'):
self.assertFalse(search_filter(test_case, p))